The procedure below provides two ways to create
an operation state
in the Transaction editor.
Procedure
In the Project Explorer pane, double-click
the transaction file that you want to edit.
In the Transaction editor, click the Flow tab.
Click operation 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.
Define the required properties.
In the Operation field of the General tab,
click the Browse icon . The Selector opens.
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.
In the Name field,
input a valid state name.
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