It's often necessary to start several independent tasks simultaneously in the framework of a workflow. For example, when preparing a tradeshow, you may have to launch at once such processes as the booth design, collaterals printing, presentations preparation, etc.
In Comindware Tracker you can handle such situations by forking the main workflow into several branches. Moreover, you can further fork these branches as many times as necessary to satisfy your real workflow.
The fork is implemented by using the Gateway function. Each gateway has 2 gates which open and close the fork. In the closing gate, all branches merge again into a single workflow.
To fork a workflow:
1.Â Click Add Gateway on the ribbon of the Workflow Scheme builder.
2.Â Enter the gateway name and select its status. Click Save&Close. You will see the entrance and exit gates added to the workflow scheme: Fork Gate and Join Gate.
3.Â Add steps in between the two gates to form your branches.
4.Â Draw transitions to complete the branches. Be sure to start your branches in the Forking Gate and join them in the Joining Gate.
5.Â Complete your workflow scheme heeding the basic principles and restrictions for schemes with gateways (see the pictures and hints below). If these requirements are not met, you won't be able to save your scheme, or this can cause a gateway/workflow abort.
Do's and don'ts for gateways:
- Do not interconnect steps of different subprocesses. The system won't allow you to save your workflow scheme unless all subprocesses are independent and parallel.
- Watch over: Functionally, you can add an End step to a subprocess, but this step will abort not only the gateway subprocesses but also the entire workflow.
- A transition leading from a subprocess step out of the gateway will abort all the gateway subprocesses. Use this trick to provide your team with the opportunity to terminate subprocesses before their completion (for example, in case if the task input information changed).
- A subprocess can be attained only through a Forking Gate. Otherwise you won't be able to save your workflow.
- You can use as many Forking Gate incoming transitions as necessary.
- A transition from a subprocess step can lead to the Forking Gate. If it's performed, all the gateway subprocesses will be aborted.
- Each Joining Gate has only one outgoing transition since this transition is performed automatically. For the same reason, you cannot specify execution permissions for this transition.