Defining data in transaction editor

About this task

Data for a transaction file (BTT Flow or BTT Operation) is defined in the Transaction editor. Different types of data can be defined for a transaction file, including Kcoll, Icoll, bColl, field, and typed data. For more infomation about data, please refer to Data elements.

Procedure

To define data for a transaction file, do the following steps:

  1. In the Transaction editor, click the Data tab.
  2. Right-click the Data panel, and then click New Child > KColl (Note: from version 8.0.1 KColl changes to record.). Every data file must have a Kcoll as the root data. Other data elements can be added under the Kcoll as child data elements.
  3. Right-click the KColl in the Data panel, and then click New Child. According to different parent data element, all possible child data types are prompted.
  4. Define the property values in the Detailed Information panel. Note that the param property value is set as a New Child of a selected data element and the list of possible parameters for the selected data element are shown in the Detailed Information panel. For detailed information about data properties, please refer to Data element external definitions. In addition to each data element specific properties, all BTT data elements have some common properties.
    direction
    It can be specified by checking or unchecking the following values.
    In collections, hierarchy tree is respected. When changing the value of a flag, this value will be propagated to all inner elements. So, if some parent data has a value unchecked, all inner elements will have this option disabled. On the other hand, if the flag value is checked, all inner elements will have it enabled and checked, although the user can check/un-check it. In simple referred data, the refData element has the same direction value as the referred data by default, although the user can change it.
    Undefined (Value)
    Undefined property indicates whether the datum has defined value. When it's checked, it is fine to leave Value property blanket. Otherwise, there would be errors.
    User Interface Element
    It specifies the UI widgets for data. When it's checked, you can select the widget and set the properties for the widget as editing properties of XUI elements.
    Data elements are associated to specific UI widgets by default. For example, a field data element is associated to a Text widget by default, and an iColl data element is associated to a Table widget by default.