Delay activity NOT working in Approval WF
-
lunes, 30 de abril de 2007 9:09
Hi,
I have a prob where I have developed a MOSS 2007 approval workflow using InfoPath forms and WF.
Problem:
A task is created for Approver1 to approve it. If approver1 doesn't approve it in 6 hrs than it should goto approver2.
Problem sol addressed:Now I am using a CAG activity within I have a sequence activity containing a Delay Activitiy and updateTask activity. I hv given delay for 5min to test. I hv not given a "until condition" for CAG but given "When condition" for sequence activity holding delay & update task activitiy.
Once task is created and it is waiting for approver1 to approve it. after delay of 5 min it should update the task and task should be pointing to approver2. This is not happenning.
After delay is over the updateTask method is not triggering. If approver1 try to approver this task after delay is over than it fires the updateTask method (which is not correct).
Pls provide some pointers to this as where I am doing mistask.
Regards
Amit
Todas las respuestas
-
jueves, 15 de marzo de 2012 5:46
Hello,
I also faced the same problem.
Finally, I got it working after setting the propertvalue 'job-workflow'
To check if the property is set ( most likely it is not set )
1stsadm -o getproperty -pn job-workflow -url http://sp2010vmc002:1000
if you get <Property Exist="No" /> then set it by the following
1stsadm -o setproperty -pn job-workflow -pv "Every 5 minutes between 0 and 59" -url http://sp2010vmc002:1000
Finally, do a iisreset and restart the Sharepoint 2010 Timer service.
Ref:
http://technet.microsoft.com/en-us/library/cc424970(office.12).aspx
http://social.msdn.microsoft.com/Forums/en-US/sharepointworkflow/thread/2390dcee-d2f3-4a55-a024-6ad14913568e

