Defining Transitions
Use
You can use the GP design time API to set transition targets based on the result states defined for the callable objects of the process.
Transitions provide flexibility of process logic and allow you to guide process flow based on runtime decisions.
Prerequisites
- You have instantiated the IGPDesigntimeUpdateManager .
- You have familiarized yourself with the creation of development objects with GP design time API.
Procedure
- Create a block structure and add activities to it.
For more information, see Creating Blocks .
- Assign a callable object with result states to an action and add the action to the block.
For more information on how to create a callable object with result states and assign it to an action, see:
- Retrieve the items from the block structure.
To define transitions between the actions, we need to access the corresponding block structure items.
- Define transitions between the actions.