Creating Chain Definitions with Parallel Chain Processes
Parallel execution is used for independent processes to optimize resource usage on a system. Particularly useful for light weight processes or for processes that require simultaneous execution.
It is better to keep the amount of steps in a chain definition to a minimum.
Procedure
- Choose "Definitions > Chains" in the Navigation bar.
- Choose New Chain Definition from the context-menu.
- Choose the Chain Definition tab and fill in a name for the chain definition, choose Save.
- On the Chain Definition tab, choose the name of the chain.
- Choose Add Step from the context-menu, notice that a new step with the caption Step 1 has been added.
- Choose Add Process from the context-menu of Step 1.
- Choose Process 1 and enter the part of the process definition name into the Process Definition field.
- Choose the desired process definition out of the list of available process definitions.
- Under Scheduling, enter a parameter for Queue.
- Perform actions 6 to 9 of this procedure for each required Chain Process.
- Choose Save to save the chain.
Example
Create a chain definition with one step containing two chain processes.
- Choose "Definitions > Chains" in the Navigation bar.
- Choose New Chain Definition from the context-menu.
- Choose the Chain Definition tab enter MSLN_FC_INV_IN in the Name field.
- Choose MSLN_FC_INV_IN on the Chain tab.
- Choose Add Step from the context-menu.
- Choose Step 1.
- Choose Add Chain Process from the context-menu and choose the newly created box.
- Enter info into the Process Definition field.
- Choose System_Info from the list of available process definitions.
- Fill 10 into the Priority field.
- Choose MSLN_FC_INV_IN.
- Choose Step 1, choose Add Chain Process from the context-menu and then choose the newly created box.
- Enter Sleep into the Process Definition field.
- Choose System_Sleep from the list of available process definitions.
- Enter the value System into the Queue; note that in this case, this task is optional. Since we did not define a default queue for the chain definition, the submit wizard will require you to fill the queue field, this also means that you cannot submit this chain definition automatically from an event, for example. You define a default queue for the chain definition on the Chain Definition tab, see the Creating Chain Definitions with Parameter Handling topic for an example.
- Choose Save & Close to save the chain definition.
Submit the chain definition
- Navigate to "Definitions > Chains" in the Navigation bar.
- Choose Submit from the context-menu of the chain definition MSLN_FC_INV_IN.
- Choose Next.
- Fill System into the Queue field, and choose Submit.
See Also
JobChain