This topic applies only to the IBM Business Process Manager Advanced configuration.

Adding an entry or an exit to a state

An entry is an activity that runs when entering a state; an exit runs when leaving a state.

About this task

To add an entry or an exit to a state or a composite state, proceed as follows:

Procedure

  1. On the canvas, select and hover over the state that you want to modify.
  2. Click the appropriate entry or exit element icon in the action bar.
  3. In the Properties area, click the Details tab.
  4. Determine which type of implementation you would like to use. You have the following choices:
    Option Description
    Visual Choose this to use the visual snippet editor to graphically compose Java™ code.
    Java Choose this to write the Java code yourself.
    Invoke Choose this to invoke an operation on a reference.

Results

Your newly created entry or exit will appear on the canvas along with the activity that it is associated with.