cancel
Showing results for 
Search instead for 
Did you mean: 

Repeat UserTask up to X times

zimmul
Champ in-the-making
Champ in-the-making
We have a workflow that involves order fulfillment (sample workflow below).  Once the workflow reaches the point at which the order should have been delivered it sends an email to the customer asking to confirm.  We would like to repeat sending the email every two days for a maximum of X attempts.  If it reaches X attempts without a response we would like to assume order is fulfilled and close it.  We have a BoundaryTimerEvent on the UserTask to re-send the email after two days if there is no response.  There doesn't seem to be a way to apply a maximum executions then proceed.  Does anyone know of any attributes we can use or a way to set the maximum "retries" at a specific value?

Workflow example:
start –> place order –> send order to fulfillment house –> wait 7 days (in Call Activity that contains only a timerEvent) –> Send Email to confirm receipt (with boundarytimervent) –> close order –> end


Thanks in advance!

Brady
1 REPLY 1

trademak
Star Contributor
Star Contributor
Hi,

In the boundary timer event you can configure a timeCycle as the time definition with a maximum number of times to cycle.
Then you could define an additional boundary timer that executes after a specific amount of time and proceeds with the next activity in process.

Best regards,