Adding data formatter for a state

This section describes how to add a data formatter to map the input or output data of a state.

Procedure

To add a data mapping formatter to a state, do the following steps:

  1. In the Enterprise Explorer pane, double-click the Transaction file that contains the transitions to which you want to add a data formatter. The Transaction file opens in the Transaction editor.
  2. In the Transaction editor, click the Flow tab.
  3. In the Flow tab, click the state to which you want to add the data formatter. Information on the state displays in the Properties tab.
    Note: If the Properties tab is not open, click Window > Show View > Other > Properties to open the Properties tab.
  4. In theProperties panel, two fields are used to define data mapping: the Input Mapping field and the Output Mapping field.
    • If you want to map output data, use Output Mapping.
    • If you want to map input data, use Input Mapping.
  5. If you are adding an existing data formatter, copy the format name from the Format tab panel and paste it on the mapping field.
  6. If there is no proper data formatter, firstly use Data Mapping windows to define a new one. Please refer to Defining data formatter.
  7. After successfully created a data formatter in the Data Mapping window, the automatically generated or user defined formatter name would display on the mapping field.
  8. Save the Transaction file. Finally, adding data formatter is completed.