Creating Private Simple or Library Type Working Data

Prerequisites:

You performed the steps in Creating a Practice Process App for Data Mapping.

On the Data Mapping tab of the orchestration workflow Property Editor, you can create private simple or library type working data elements to use in an orchestration. The steps for creating them are the same.

Private simple working data is classified by data types. In computer programming, a data type restricts a data element to a particular type of information. For example, a string can contain only characters and spaces. "ProcessApp101" and "ab cde!f" are both strings. An integer can contain only whole numbers, that is, numbers that do not contain fractional parts. The numbers 1, 88, and 1099 are integers; however, 1.5, 88.72, and 1099.579 are not (they are called floating-point numbers). Private simple working data is shared by all of the steps in the orchestration workflow.

Library type working data is provided by the WSDL files that are imported into an orchestration workflow. For example, the "auth" library type is a private complex type that contains the userId, password, hostname, and loginAsUserId parameters supplied by the SBM Web service. For more information about the "auth" data element (argument), refer to the SBM Web Services Developer's Guide.

Procedure Summary

  1. Select an orchestration workflow to display it in the orchestration workflow editor.
  2. Click the Data Mapping tab of the orchestration workflow Property Editor.
  3. To add a new data element, right-click the WorkingData step input, and then select Add New DataElement.
  4. Change the name of the new data element, if you want.
  5. Right-click the new data element, point to Type[String], click Select from Type Library, and then select a data type. (The icon to the left of the name changes accordingly.)

In the following exercise, you will create a private simple working data element (PrivateSimple) and a library type data element (LibraryType).

To create a private simple working data element and a library type working data element:

  1. In App Explorer, select DataMappingOrchWF under the Orchestration Workflows heading.
  2. In the orchestration workflow Property Editor, select the Data Mapping tab.

    The WorkingData step input should be visible under the name of the orchestration workflow (DataMappingOrchWF) in the Working data column. (If it is not, click a blank area in the orchestration workflow editor.)

  3. To create a private simple working data element:
    1. Right-click the WorkingData step input, and then select Add New DataElement.

      A new data element (DataElement) is added under the WorkingData step input.

    2. While DataElement is still selected, type PrivateSimple, and then press the Tab key.
    3. Right-click PrivateSimple, point to Type[String], and then select a data type such as Boolean or Integer. (Type[String] indicates that the data type of PrivateSimple was String.)

      If you select Boolean, the icon to the right of PrivateSimple changes from string to boolean. If you select Integer, the icon changes from string to integer.

  4. To create a library type working data element:
    1. Right-click the WorkingData step input, and then select Add New DataElement.

      A new data element (DataElement) is added under PrivateSimple.

    2. While DataElement is still selected, type LibraryType, and then press the Tab key.
    3. Right-click LibraryType, point to Type[String], click Select from Library Type, and then select a data type such as Auth or CredentialsType. If you selected Auth, four child elements are added under the Auth data element.

      The icon to the left of the LibraryType data element changes from string to complex.

Related Topics

Using Data Mapping