Generating code for self-define operation

In BTT Transaction Editor, you can generate configuration code for self-define operation with code generation wizard.
  1. Create a new operation transaction, and open it with Transaction Editor. Create a new operation and define its Id as test in the General tab of the Properties view. Create opStep for the operation and define its Id as test.
  2. Right-click the opStep and define a switch for the opStep. Define the action for OnODo.
  3. Right-click the operation transaction in the Package Explorer and select Generate BTT Transaction XML. The file test.xml is generated in the Package Explorer. The file name is the same with the operation Id defined previously. If the operation Id is not defined previously, the default xml file name is null.xml. Note that if several OnODo actions are defined, only the latest action will appear in text.xml.