In the Operation Editor, you can create an operation step for an
operation.
To create an operation step, do the following steps:
- Create the operation step classes:
- To create a global operation step class, do the following:
- Create a new class extending com.ibm.btt.base.OperationStep, which is
located in bttcore.jar.
- Open btt.xml file, and find the operation section. Add the following code
to the classtable configuration:
field id="newOpstep" value="package.newOpstep" /
- If your Transaction Editor is opened before you define the extensions,
right-click any blank space in the editor and select Reload BTT
Global Settings in the pop-up menu so that your changes can be
applied.
- To create a local operation class, you can create a new class
extending com.ibm.btt.base.OperationStep, which is located in bttcore.jar.
- In the Operation Editor, right-click the Operation, the OpStep Creation
Dialog pops up:
There
are three choices. You can select one according to your needs.
- After the operation step is created, you can right-click it to add a Switch.
Following is a screen capture:
In the Detailed Informationsection,
you can edit the properties of the Switch.