How to use a Parallel Gateway
1. What You Will Learn
After finishing this tutorial you will be able to use Parallel Gateways correctly and to properly incorporate them
into your PAK Workflows in the Editor. You can download the Editor
here.
A parallel gateway is used to visualize the concurrent execution of activities and is used in pairs. When the process arrives at the parallel gateway node, all the outgoing flows exhibited from the gateway will be executed simultaneously. |
2. Prerequisites
To complete this guide you need:
-
Roughly 10 minutes
-
Installed PAK Editor
-
Installed PAK Workflow Executor
This HowTo does not contain a detailed introduction to the editor. Click here to learn everything about the PAK Workflow Editor. |
3. Build the workflow
First you have to create a new BPMN
Parallel gateways do not determine whether a condition is met. Instead, all subsequent process flows are passed through. |
-
Add the Parallel Gateway from the Controls to your workflow
Figure 3. Editor Parallel Gateway -
Create three SimpleOK tasks, connect the parallel gateway with edges to the three
tasks and configure the properties of the tasks as shown in the picture.Figure 4. Editor SimpleOK Command 3 -
Then merge the paths through another parallel gateway and add an end event to the BPMN
If you choose use a different Gateway (for example a Exclusive Gateway) for closing a parallel Gateway the „End“ Node will be reached 3 times. |
4. Test / Run the workflow
You can download the PAK Workflow Executor here. |
You can download the Example Workflow here. |
-
Save your BPMN via the menu File → Save to your destination folder.
-
Open the Workflow inside the Workflow Executor Application via the „Open new Workflow“ Button.
-
Start the workflow with the Play Button on the right side.