Use a timer shape from the Common stencil category. This shape allows to delay further processing of a workflow by configuring time in various units (Month, Week, Day, Hour, Minute, Second)
are we able to use the timer shape for a tasks such as a web service and if it doesnt come back in the first attempt we can do a number of retries before we move to another path?
Absolutely. This is commonly done with digital signatures. You send the request and then go into a timer loop waiting for a response. At any point in the loop, you can introduce logic to exit the loop if things have gone on too long.
This was also helpful in a looped subprocess when looping through a repeating subform value when the value was evaluated within the subprocess instance. Otherwise the 'Next Loop' would put in the next value to quickly. Just a 10 second wait was needed before 'Next Loop'.
コメント
4件のコメント