Creating final state

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:

  1. In the Enterprise Explorer pane, double-click the transaction file that you want to edit to open the transaction file in the Transaction editor.
  2. In the Transaction editor, click the Flow tab.
  3. In the Palette pane, click Final.
  4. In the Flow tab of the Transaction editor, click on the area at which you want to place the Final state icon 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.
  5. Click the Final state icon in the Flow tab.
  6. In the Properties tab of the Final state, click the General tab.
  7. 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.
  8. 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.