Creating a new self-define operation

About this task
To create a new self-define operation using Transaction Editor, do the following steps:
  1. Creating a Java™ project in RAD.
  2. Add BTT nature to the project just created. Right-click the project and select BTT Tools > Add BTT Nature. Then the selected btt.xml file becomes the BTT nature file. For more information, see Adding and removing BTT nature
  3. Create a folder named transaction in the Java Project.
  4. Right-click the folder, and select New > Other.... Expand BTT, and select Transaction, and click Next. The dialog box for creating a new transaction pops up. By default, the transaction file name is BTTTransaction.transaction. Following is a screen capture:

    Screen capture of the create a new transaction dialog

  5. You can choose to create a self-define operation directly or using templates.
    • To create a self-define operation directly, click Next, and you are prompted to choose the transaction type.

      Select Self-defined Operation, and click Finish. An Operation transaction is created and opened. There are five tabs in the Transaction Editor for Operation transaction: Operation, Context, Data, Format, and Service.

    • To create a self-define operation using templates, select the Create a transaction using templates checkbox, and click Next. You are prompted to choose one of the available templates to generate a transaction. Select one operation template and click Finish. Then the new operation is created and automatically opened.
      Note: You can define your transaction file as a template. Right-click the transaction file, and select Save As BTT Transaction Template in the pop-up menu. This transaction file will be displayed as one of the available templates the next time when you create a new Transaction using templates.