Activity Templates
This section describes the activities that constitute and model a workflow. Each activity is assigned a template, made of states and transitions.
Overview
Going through an activity means going through states and transitions.
By default, Usercube's workflow engine implements the following activity templates:
Activity Templates
Action
Awaits user modifications without another user's intervention.
ActionWithRefine
Awaits user modifications with the possibility to delegate the action to another user.
The ActionWithRefine
activity can be translated into the following form:
Review
Awaits user approval without another user's intervention.
ReviewWithFeedback
Awaits user approval with the possiblity of getting feedback from another user before taking the action.
The ReviewWithFeedback
activity can be translated into the following form:
Persist
Saves the workflow's collected data to the repository and triggers dependent processes (i.e.
computation of the role model and provisioning). This activity has only the transition
Persist-Invoked-Invoke
and the state Persist-Invoked
. It has no user interaction, and hence no
need for permissions.
PersistOnlyResources
Saves the workflow's collected data to the repository without triggering the dependent processes
(i.e. computation of the role model and provisioning). This activity has only the transition
PersistOnlyResources-Invoked-Invoke
and the state PersistOnlyResources-Invoked
. It has no user
interaction, and hence no need for permissions.
For example,
PersistOnlyResources
can be used in a workflow to add a new user, as we first create a user sheet but without any account, etc.
States
By default, Usercube's workflow engine implements the following state templates:
Action-ActionPending
Action-Executed
Action-Aborted
Action-Purged
ActionWithRefine-ActionPending
ActionWithRefine-Executed
ActionWithRefine-RefinePending
ActionWithRefine-Aborted
ActionWithRefine-Purged
Review-ReviewPending
Review-Declined
Review-Approved
Review-Aborted
Review-Purged
ReviewWithFeedback-ReviewPending
ReviewWithFeedback-Approved
ReviewWithFeedback-Declined
ReviewWithFeedback-RefinePending
ReviewWithFeedback-Aborted
ReviewWithFeedback-Purged
ContinueWith-Invoked
Persist-Invoked
PersistOnlyResources-Invoked
Transitions
By default, Usercube's workflow engine implements the following transition templates:
Action-ActionPending-Save
Action-ActionPending-Execute
Action-ActionPending-Abort
Action-Aborted-Purge
ActionWithRefine-ActionPending-Save
ActionWithRefine-ActionPending-Execute
ActionWithRefine-ActionPending-Delegate
ActionWithRefine-ActionPending-Abort
ActionWithRefine-RefinePending-Save
ActionWithRefine-RefinePending-Delegate
ActionWithRefine-RefinePending-Execute
ActionWithRefine-RefinePending-Abort
ActionWithRefine-Aborted-Purge
Review-ReviewPending-Save
Review-ReviewPending-Approve
Review-ReviewPending-Decline
Review-ReviewPending-Abort
Review-Aborted-Purge
ReviewWithFeedback-ReviewPending-Save
ReviewWithFeedback-ReviewPending-Approve
ReviewWithFeedback-ReviewPending-Decline
ReviewWithFeedback-ReviewPending-Refine
ReviewWithFeedback-ReviewPending-Abort
ReviewWithFeedback-Aborted-Purge
ReviewWithFeedback-RefinePending-Save
ReviewWithFeedback-RefinePending-Delegate
ReviewWithFeedback-RefinePending-Execute
ContinueWith-Invoked-Invoke
Persist-Invoked-Invoke
PersistOnlyResources-Invoked-Invoke