AnsweredAssumed Answered

Repeat UserTask up to X times

Question asked by zimmul on Jan 18, 2012
Latest reply on Jan 19, 2012 by trademak
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!