
Defining the block flow implies:
The definition of the block flow strongly depends on the block type, that is, whether it is marked as Sequential, Parallel, Parallel Dynamic, Precondition or Postcondition Loop, or Alternatives.
Use this procedure to define the specific flow required for each block type.
More information: Attaching Callable Objects
| Block Type | Requirements |
|---|---|
|
Sequential |
|
|
Parallel |
|
|
Precondition Loop Postcondition Loop |
|
|
Alternatives |
|
To configure a target, select the relevant result state and choose the required action from the dropdown box in the Target column. You can select an action located in:
Choose from the actions that are listed in the dropdown box.
From the dropdown box, select Other… and choose the relevant name of the action.
When configuring targets for result states that are in different blocks, you have to make sure they are in accordance with the relevant block types you are using. For example, if the target is in a sequential block, you can choose any action from the block as a target action. If, however, the target is in a precondition loop block, the target can only be the first action in the block, since it is the decision action that defines the loop condition.
The following table shows whether a certain type of block can contain a source or target action:
| Action Flow / Block Type | Sequential | Precondition Loop | Postcondition Loop | Parallel & Parallel Dynamic | Alternatives (User Decisions) |
|---|---|---|---|---|---|
|
Source |
Yes |
No |
No |
No |
Yes |
|
Target |
Yes |
Action 1 |
Yes |
Action 1 |
Action 1 |
The source block contains the decision action that requires result states. The target block contains the target of the result state. Action 1indicates a target in the respective block type can only be the first action in the block.
If you select Terminal, at runtime the current block execution would end if the relevant result state is reached, and the next block in the process flow would be executed.
You can set the limit for completed actions as a percentage or as the number of branches (steps).
If the block contains five actions and you want to make sure it completes as soon as any three of them are executed, you can specify a limit of 3 Branch(es) or 60 Percent.
To evaluate the condition, you can use a callable object for background execution, for example a Business Logic callable object which receives as input context parameters, makes a decision and returns result states.
Choose a callable object and use Parameter Mapping to map the relevant block context parameters to the input parameters of the callable object.
UseResultStateMapping to map the result states of the callable object to the two possible result states of the block: