About this task
All final states must have an exit event for the transaction
flow to complete. The exit event of a final state means that the flow
will send the signal defined in the final state when the flow comes
to the end. The exit event is defined in the combo box of the final
state.
For detailed information on states, refer to the States topic.
Procedure
To create a final state and add an exit event, take the
following steps:
- In the Enterprise Explorer pane, double-click the transaction
file that you want to edit to open the transaction file in the Transaction
editor.
- In the Transaction editor, click the Flow tab.
- In the Palette pane, click Final.
- In the Flow tab of the Transaction
editor, click on the area at which you want to place the Final state
icon
. If you want to change the
location of the Final state icon in the Flow tab,
drag and drop the Initial state icon to the desired location.
- Click the Final state icon in the Flow tab.
- In the Properties tab of the Final
state, click the General tab.
- In the Exit Event drop-down list
of the General tab, select the exit event.
- If the Final state has been reached because all the specified
conditions of the transaction flow have been satisfied, select OK.
- If the Final state has been reached because some of the specified
conditions of the transaction flow have not been satisfied, select NotOK.
- Optional: If you want to add a page to the
Final state, select the Browse icon
of the Final Page field in the General tab.