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

Procedure

  1. Create a block structure and add activities to it.

    For more information, see Creating Blocks .

  2. 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:

  3. Retrieve the items from the block structure.

To define transitions between the actions, we need to access the corresponding block structure items.

  1. Define transitions between the actions.