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, select Add New, and then select Select from Type Library.
  4. Select a data type. (The icon to the left of the name changes accordingly.)
  5. Change the name of the new data element, if you want.

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, select Add New, and then select a data type such as Boolean or Integer.

      A new data element (Boolean or Integer) is added under the WorkingData step input.

    2. Change the name of the new data element to PrivateSimple.
  4. To create a library type working data element:
    1. Right-click the WorkingData step input, select Add New, and then select Select from Libray Type.
    2. Select a data type such as Auth or CredentialsType. If you selected Auth, four child elements are added under the Auth data element.

      A new data element (Auth or Credentials) is added under PrivateSimple.

    3. Change the name of the new data element to LibraryType.

Related Topics

Using Data Mapping