IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Developing business processes > Building business state machines > Create a business state machine
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.
To add an entry or an exit to a state or a composite state, proceed as follows:
Procedure
- On the canvas, select and hover over the state that you want to modify.
- Click the appropriate entry or exit element icon in the action bar.
- In the Properties area, click the Details tab.
- 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.
Create a business state machine
Related tasks:
Work with composite states
Adding a state to a business state machine
Adding a transition to a business state machine