IBM WebSphere Multichannel Bank Transformation Toolkit, Version 7.1

Creating an operation state

About this task

An operation state is a state in a transaction flow that is bound to an operation. You can add events to the operation state to enable the operation state to navigate to another state.

Procedure

To create an operation state, do 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 Processor tab.
  3. In the Palette pane, click Operation.
  4. In the Processor tab of the Transaction editor, click on the area at which you want to place the Operation state icon The Operation state icon.. If you want to change the location of the Operation state icon in the Processor tab, drag and drop the Operation state icon to the desired location.
  5. Click the operation state icon in the Processor tab.
  6. In the Properties tab of the Operation state, click the General tab.
  7. In the Operation field of the General tab, click the Browse icon The Browse icon. The Select Operation window opens.
  8. In the Select Operation window, select an operation for the Operation state, and then click OK.
  9. In the Events panel of the General tab, click the Add icon The Add icon. to add events to the operation.
  10. Edit the related Java file. Shown below is an example of sample code from a .java file:
    Note: In the image above, "ok" and "error" are the names of the events that are defined in the Operation state


Feedback