Page 292 -
P. 292
288 M. Adams
Suspend: This action suspends the selected work item. The work item is removed
from the started queue and placed on the participant’s suspended queue. A par-
ticipant must have the task privilege “Can Suspend” to successfully suspend a
work item.
Reallocate Stateless: This action allows a participant to reallocate a work item
to another participant. The receiving participant must be subordinate to the real-
locating participant in the organizational model, that is, the receiving participant
must hold a position that reports to a position held by the reallocating participant,
either directly or through a hierarchy of positions. The work item’s data values
are reset to the values that existed when the work item was first started (i.e.,
stateless reallocation), and it is moved from the started queue of the reallocator
to the started queue of the receiver. A participant must have the task privilege
“Can Reallocate Stateless” and have subordinate staff to successfully reallocate
a work item.
Reallocate Stateful: Similar to “Reallocate Stateless,” except that any modified
data values are maintained when the work item is reallocated. A participant must
have the task privilege “Can Reallocate Stateful” and have subordinate staff to
successfully reallocate a work item.
New Instance: This action creates a new instance of the selected work item; it
is enabled only for a work item of a multiple instance atomic task that allows
dynamic creation of additional work item instances.
Complete: Completes the selected work item. The work item is posted back to
the engine, which then progresses the case according to its control-flow. This
action is initially disabled if the work item contains mandatory editable data
parameters, and becomes enabled after the first view/edit of the work item.
10.7.4 The Suspended Queue
The Suspended queue lists executing work items that have been suspended. Note
that suspended work items must have already been started and not yet completed,
and so this queue may be seen as an extension of the started queue. There is only
one path for a work item to appear on the suspended queue, and that is via the
Suspend action on the started queue. This queue contains one action, Unsuspend,
which resumes the work item, removing it from the suspended queue and returning
it to the started queue.
10.8 Conclusion
This chapter gave a broad overview of the YAWL Resource Service. The ser-
vice is completely autonomous to the engine, fully realizing the Service Oriented
Architecture of the YAWL environment, and supports all the identified resource