Has anybody had any success using the Delay activity within Visual Studio authored workflows
Whenever I include a Delay activity in my workflows the workflow goes to sleep and never wakes up. If I listen for a Delay activity along with other events inside a Listen activity, I find that the other events (for example, OnTaskChanged) cause the workflow to be rehydrated as expected but the Delay activity does not. It doesn't seem to make any difference what the TimeoutDuration is set to or whether it's set statically in the designer or dynamically inside an InitiializeTimeoutDuration method.
Does anyone have some sample code with Delay activities working correctly

Issues With Delay Activity
Harshil_Patel_5326c0
It's working for us. We had to install Windows Server 2003 SP2 though. Without SP2 it didn't work.
chionhhm
Nuno_Salvado
Hi all,
I am developping (for a client) a custom approbation sequential workflow in a Sharepoint site (MOSS 2007). I have to use the Delay Activity, and as you guess, my workflow doesn't reload at all after the delay.
I have retrieved the Windows Workflow Foundation "KB929816" hotfix and installed it, but it doesn't solve my problem... (I checked if the dlls were correctly patched and that's ok)
Did somebody succeed to use the delayactivity in a Sharepoint site Is there something special to do
PS : For your information, MOSS 2007 uses its own persistence service (SPWinOePersistenceService) and I doesn't seem to be configurable...
Thanks for any reply
Aruntc
Thank you for your reply
I have installed the SP2 and it works now!
The strange thing is that the SP2 is not in the prerequities in the KB article...
Hope I won't have more problems on the delay activity
Thank you again for the infos!
Metilda
Sergiy,
Just out of curiosity, do you have any more information on the fix and how did you get your hands on it
rnellis2002
Dkdjarrett
Good luck with the SharePoint issues.
Cheers,
homertbush
Arsal Usman
GSK_phili
Delay activity in RTM version doesn't fire when used with Sharepoint because of a bug in delay activity. Please refer following links.
a. http://blogs.msdn.com/sharepoint/archive/2006/11/18/developing-workflows-in-vs-part-1-workflow-objects-and-a-crash-course-on-mechanics.aspx#1242927 (Eliene Hao, whose Program Manager in Sharepoint Workflows, confirms that it’s a bug and that Microsoft is working on hotfix for it)
b. http://www.eggheadcafe.com/software/aspnet/28654504/re-delayactivity-in-a-wo.aspx
c. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=980866&SiteID=1
d. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=994867&SiteID=1
e. http://www.novolocus.com/display.php id=331&backName=Index&backURL=index.php%3Fpage%3D1%26cat%3Dmicrosoft.workflow%23331
Call Microsoft PSS for -KB929816-X86
M.N. Ahmed Sahib
The QFE is released by Microsoft and we're now using it. So far so good. You still have to contact MS support to get it though as it has not been through full regression testing yet.
No.1 Of Mew
averge joe
Clintonf
Nick2006_Houston
I set up a delay to repeat every ten minutes in an infinite loop. Watching the workflow history I can see the delay fire after maybe twenty minutes, then an hour, another time after maybe four or five hours. There doesn't seem to be much of a pattern to it.
Is anyone else still having issues after installing the patch
Axel Mamode
This is a bug in workflow runtime. Microsoft has produced a quick fix (System.Workflow.Runtime.dll) for it and the DelayActivity works fine with it, but I have no idea when it will be available for public.