A common problem is the coordination of several parties. We want to give a number of participants the chance to comment on something but we do not want to wait indefinitely.
YAWL timer tasks can help here.
For the following workflow, we will be using the ybkp-File which is attached.
Someone submits a claim and several specialists comment on it before a decision is prepared. The specialists only have a limited time to comment.
We start a new net with string type net variables claim, healthComment, houseComment, and lifeComment. We add a boolean type net variable accept. The task Submit claim takes claim as input and output variable and is offered to the role claimer. The task Comment on health has the claim as input variable and healthComment as output variable. It is offerd to the health specialist. It times out two minutes after enablement (PT2M).
To set the timer first click on the task which should contain the timer. Now is on the left hand of the editor the properties table there you will find the entry "Timer". At the following picture you see how you set the timer
The other two commenting tasks are similar.
The task Decide takes the claim and the comments as input and accept as input and output variable. This task is offered to the role allocator.