Creating Operation State

About this task

The procedure below provides two ways to create an operation state in the Transaction editor.

Procedure

  1. In the Project Explorer pane, double-click the transaction file that you want to edit.
  2. In the Transaction editor, click the Flow tab.
  3. Click operationThe Operation state icon in the Palette and then click the position where you want to place the state icon in the Flow editor area. If you want to change the location of the state icon, drag and drop it to the desired location.
  4. Define the required properties.
    1. In the Operation field of the General tab, click the Browse icon The Browse icon. The Selector opens.
    2. In the Selector, select an operation for the state, and then click OK.
      Note: The operations have normally been already defined by the technical developers when defining the flow. If not, you will have to go first to the Operation tab of the Transaction Editor to create the operations that will participate in your flow. To understand how to create a new operation, go to Creating a BTT Operation transaction file.
    3. In the Name field, input a valid state name.
  5. Alternatively, if the operation that you want to use is in the same project or on the multi-project environment, you can select the Operation file from the Project Explorer, then drag and drop it to the Flow editor area.
    • All the properties and events of the file are copied to the state.
    • The name of the state is the name of the file.
    Figure 1. Creating an Operation state by dragging an operation file to the Transaction editor