Development tools : Transaction editor : Drawing flows in the flow editor : Creating final state
  
Creating final state
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 more information on states, see States.
To create a final state with an exit event
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.
This graphic is described in the surrounding text.
4 In the Flow tab of the Transaction editor, click on the area at which you want to place the Final state This graphic is described in the surrounding text. icon. If you want to change the location of the Final state icon in the Flow tab, drag and drop the Final 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 list, 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.
Besides OK and NotOK default events, user can also enter other exit event by directly entering the event name.
Note If you want to add a page to the Final state, select the Browse icon This graphic is described in the surrounding text. of the Final Page field in the General tab. You can edit the page by double-clicking in the Final Page label and open the selected page with the XUI editor.
Go up to
Drawing flows in the flow editor