Creating operation steps for an operation

In the Operation Editor, you can create an operation step for an operation.
To create an operation step, do the following steps:
  1. Create the operation step classes:
    • To create a global operation step class, do the following:
      1. Create a new class extending com.ibm.btt.base.OperationStep, which is located in bttcore.jar.
      2. Open btt.xml file, and find the operation section. Add the following code to the classtable configuration:
        field id="newOpstep" value="package.newOpstep" /
      3. 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.
  2. In the Operation Editor, right-click the Operation, the OpStep Creation Dialog pops up:

    Screen capture of the OpStep Creation Dialog

    There are three choices. You can select one according to your needs.

  3. 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.