Subprocesses are a mechanism for breaking down a high level logical activity into a "mini workflow" that whose more granular sequence activities of activities fulfills the purpose of its parent activity.
Visualization in the Workflow Assistant
When focussed on an activity in a subprocess, the workflow assistant shows the parent activity above the current activity name
So, here, the agent can immediately see that they are working on the "Initial Assessment" activity within the context of the higher level "Triage" activity
Subprocesses can be defined to any level. At greater depths the UI is similar but will include every ancestor of the current activity (stacked above it in ancestral order) and the left bar will grow to encompass them all.
Why are subprocesses useful?
For complex workflows with many activities, subprocesses can be a benefit to both the agents that enact them and to architects that define them.
For agents the subprocesses can provide a helpful overall context to the current activity they are performing.
For workflow architects, sub processes can help to organize potentially the many granular activities of the workflow into more manageable components
Subprocesses vs Parallel Activities
Both subprocesses and parallel activities can be thought of as "mini sub workflows", (and in fact a workflow architect actually defines them as such), but importantly :
- subprocesses continue to run on the same ticket as their parent activity (to any depth)
- parallel activities always run on a separate ticket that is created automatically by the Flowset runtime
Viewing Subprocesses in the context of their Parent Activity
The workflow information icon allows the agent to see graphically where they are in the overall workflow definition :
Lets imagine the agent clicks the information icon at this point in the "Triage" subprocess.
A modal will showing the relevant workflow definition diagrams :
- A breadcrumb shows the relevant workflow levels in play
- The current actvity, "Initial Assessment", is highlighted in green within the current subprocess
- The breadcrumb is focused on the current subprocess worfklow diagram
- The workflow containing the parent activity of the subprocess can be viewed by clicking its link
If we click the breadcrumb link to the parent activty we see :
- The breadcrumb shows the relevant workflow levels in play
- The parent actvity that decomposes into the current subprocess is highlighted in green
- The breadcrumb is now focused on the top level workflow diagram containing the parent activity
- The subprocess workflow can be viewed again by clicking its link in the breadcrumb.
Workflow definitions can be defined with multiple levels of subprocess activities and/or parallel activities. In these cases the breadcrumb will extend to show all relevant levels from the current activity back up to the top level workflow
Please sign in to leave a comment.