Parallel Workflows

Applies to Infiniti v8.0 or later

How to Create a Parallel Workflow

Consider the following example for a Workflow:
In this example, the flow of control is simple with single expectations at each state. Now consider the example below:
In this case, a “2-step authorisation” process is involved. The issue with this is that if one of the authorizers in not available, the allocated task is held and can only be progressed by the actions of an administrator.

Parallel Workflows

Parallel Workflows allow some part of the workflow to run in parallel. We will alter the process above  as follows:
  • Remove authorization sections 1 and 2;
  • Drag and drop the “Parallel Section” onto the work area;
  • Drag and drop two states into the parallel field;
  • Name these state “Authorize 1" and "Authorize 2”;
  • Now select the previous calling state – in this case its “Process”;
  • Add a transition from “Process” to “Authorize 1” and "Authorize 2";
  • Then add a Transition from “Authorize 1” and "Authorize 2" to “(Finish)”.
You will get the structure as shown below…..
Now “Authorize 2” does not need to wait for “Authorize 1” to transition the workflow first…..
At the finish tab, both outcomes of the parallel workflows will be required in order to successfully complete the task.
Priority Parallel Exit
In Case “Authorize 1” is allowed to authorise the workflow task without waiting for “Authorization 2”, then perform the following steps:
As per the screen shot above, select the transition from “Authorize 1” to “Finish” and then check the flag “Priority Parallel Exit”;
In this case, “Authorize 1” has a higher weighting that “Authorize 2” and can complete the task without waiting for “Authorize 2”.

Adding Actions to a workflow

Applies to Infiniti v9.6 or later
Actions can be added to a workflow to execute when all exit transitions from a parallel section have completed. i.e. If there are 3 parallel states, the submission of the first two will not cause any Actions to trigger, however, when the third state is submitted, then the actions will trigger.
These actions are added to the line that comes out of "Finish Parallel 1" (or whatever the name of the parallel section is).
If a priority exit is turned off, any actions that existed on that priority exit will be removed.
Note: Actions that execute at the end of a workflow are not displayed in App Design.

Related Articles



parallel workflow create states transition