Wakeup Timer
Registers the workflow to wakeup after a certain time period. The workflow will continue unless sleep immediately is checked.
Options​
Sleep immediately​
When this is checked, the execution stops immediately and is continued after the timer expired.
Uncheck this option if the workflow is suspended later, usually after a message is sent where an answer is expected.
See the Double Opt-In
example for complete diagram. Here a user clicking "No" will end up in the list of declined
recipients if no answer is received within the timespan specified in the Wakeup Timer
activity the timeout edge is
taken and the non-responsive recipient is considered being part of the declined list as well.
Action​
The action to take when the timer expires in the following decision.
Such a decision can also be triggered by other events (e.g. an incoming
e-mail). That way the timer action can be used to model a timeout when no answer arrived within
a certain time.
If no action is specified the action named 'next' is used.
Sleep duration​
Defines the time period until the timer continues execution. The duration can be given in ISO-8601 notation, e.g.
PT15M 15 minutes
P2D 2 days
P2DT3H4M after 2 days, 3 hours, 4 minutes
PT20.12S after 20 seconds and 120 milliseconds
Currently the time resolution until a task becomes due is 1 minute so the seconds notation will not make sense. Longer durations are possible too;
P2Y 2 years
P3M 3 months
P4W 4 weeks
P5D 5 days
P1Y2M3D 1 year 2 months and 3 days
P1Y2M3W4D 1 year 2 months 3 weeks and 4 days
An absolute timestamp can also be set in the format yyyy-MM-dd HH:mm:ss
.
Parameters​
If one of the values can be found in the current context, it overrides the value that was defined statically in the diagram.
action | wakeup |
---|---|
Action parameter | Sleep duration parameter, see above. |