SharePoint - Pause for Duration (DelayActivity) SharePoint Designer
Asked By Panter
16-Jul-07 08:04 AM
Hi,
I have created a Workflow in SharePoint Designer with a Pause for Duration
action set to 1 min. The workflow fails to continue and the status stays
'Pausing for 1 Minute'. I know it is a know issue, but on the W2003 SP2
(production server) the following patches were installed:
NetFX30-KB932394-X86.exe and NetFX30-KB929816-X86.exe obtaining zero results.
Does anyone have an idea what could be happening or how to fix the issue?
Thanks,
Edgardo
SQL Server 2000
(1)
Windows Server 2003
(1)
SharePoint
(1)
System.Timer
(1)
Database
(1)
SiteID
(1)
Scheduledworkitems.DeliveryDate
(1)
PostID
(1)
lrcarlse replied...
After installing KB932394, my workflows would rehydrate, but the
intervals aren't as short as I would like. With a delayactivity of 30
seconds, SharePoint dehydrates it and schedules it for rehydration in
60-90 minutes. Try this query on your content database:
select workflow.Id, Modified, Status1, scheduledworkitems.DeliveryDate
from workflow inner join scheduledworkitems on scheduledworkitems.Id =
workflow.Id
The deliveryDate may be set to a different time zone. Also, keep in
mind that the workflow job runs by default only every 5 minutes
(stsadm -o getproperty -propertyname job-workflow -url http://mysiteurl).
lrcarlse replied...
This problem seems to have been an issue with time not being
synchronized between servers on the SharePoint farm and one server
being 60-90 minutes ahead of the others. Now that our server admin
has set the farm to synchronize time between servers, the DeliveryDate
is being set properly in the content database and my 30 second delays
go off in 5 minutes as expected.
Panter replied...
Hi,
thank you for your post. I will check the server times and I will post here
the results. We only have 1 SQL2000 Server and the MOSS Server. We've set the
workflow job to 1 minute, but it just will stay paused forever (1 workflow
already more than 2 weeks). I will appreciate it, if you have more ideas.
Panter replied...
Hi,
As promised my results. Unfortunately, the deliveryDate is set correctly
(i.e. 1 minute after the scheduled workitem was created). The servers (only 1
MOSS server and 1 SQL2000 server) are synchronized. The problem persists.
I ran out of ideas and I am running out of time. Any suggestions are really
welcome.
Jonathan.Hersche replied...
Pantera, I have the same problem, only I didn't yet check the times on
my servers, time zones, etc..
I found two other threads on msdn and tech tips where others are
having the same problem.
Bad news is that I / anyone else has not found a solution yet.
Jonathan
Jonathan.Hersche replied...

So far, I've gotten feedback from 7 other developers (in forums) who
are having the same problem where this update (Hotfix) is not working
correctly for the Workflow delay activities, specifically Windows
Server 2003 SP2 (anybody have problems on different platform?)
So, I called MS support this morning and they transferred me to .NET
support team. Apparently it is a Microsoft .NET Framework 3.0 issue
(Artical ID: 932394). They took down my information and informed me
that due to the overwhelming popularity of SharePoint, that it would
take 10-20 days until they could get back to me. OY!
So, I am going to look into other options /checks such as:
Uninstalling .net 3.0
creating a SP Designer workflow to see if I can something to work
until the delay is fixed. (maybe crack it open to see what delay(s) it
uses...)
Install VS 2005 SP1
find an alternative to delay (maybe System.Timer, etc..).
One person suggested to make sure your timezone is set on SP and SQL
server, but I checked that and all is good.
I will keep everyone updated if I find anything, but until then, we're
in a jam.
Regards,
Jonathan K. Herschel
Jonathan.Hersche replied...
Check this link out for response from Microsoft regarding this known
issue and possible workarounds.
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2000437&SiteID=1
- Jonathan
0_SP2_Database_Upgrade_ = E2 = 80 = 93_S? = = ?Utf-8?Q?QL_Server_2000_to_2005? = SharePoint Hello, I need to move a SQL Server 2000 database to a different SQL Server 2005 server. The SQL Server 2000 database is being used by a Windows SharePoint Services (WSS) 2.0 site with
SQL Server 2000 reporting services with MOSS 2007 SharePoint I am using sql server 2000 reporting services webpart in SPS 2003. We upgraded to MOSS 2007 but we are still using SQL Server 2000. Is there any webpart to display sql server 2000 reporting services reports in MOSS
MOSS with SQL 2000 SharePoint Hello, Is there any implications if I use SQL Server 2000 instead of SQL Server 2005 as the database server with MOSS? Anything I cannot do? Thanks. Peter SharePoint Discussions SQL Server (1) Database (1
How can I change my default database to SQL Server DB in WSS 3.0 SharePoint Hi, I want to change my default database (MID) to SQL Server 2000 Database in WSS 3.0 and I want to dump my MID data into the SQL server 2000 database. Please suggest me is it safe to change from MID to SQL Server 2000
SQL server 2000 Compatibility with MOSS SharePoint Hi All, We have to re-develop one portal in MOSS which is built in ASP, SQL server 2000. Major concern is performance and scalability. I am finding the compatibility of SQL Server 2000 with MOSS. Can I find the report for SQL Server 2000 vs. SQL server