Defining Data Instance Behavior Properties

When editing order and task data in an editor, you can right-click data node behaviors and select Open Properties View to access the behavior properties.You use the Properties view tabs to model Data Instance behaviors.

Note:

The level at which you create a behavior (at the data element level, task level, or order level) determines where you access and configure the behavior's properties. See "Creating New Behaviors" for more information.

To define data instance behavior properties:

  1. From the Design perspective, right-click the behavior and select Open Properties View.

    The Behaviors Properties view is displayed.

  2. Click the Data tab.

  3. In the Language field, select a predefined language in which to display the message to the web client user.

    See "Defining OSM Preferences" for more information.

  4. Specify whether to use a data provider to retrieve the data from an external system, or to statically define the data inline.

    • To use a data provider to retrieve the information, proceed to step 5.

    • To statically define the data inline, select Inline enter the XML information into the XML field, then skip to step 11.

  5. In the Data Provider field, click Select.

    The Select Data Provider dialog box is displayed.

    Alternately, you can click New to create a new data provider. See "Creating New Data Providers" for more information about creating new data providers for Data Instance behaviors.

  6. Select a data provider from the list.

  7. Click OK.

    The input parameters defined for the data provider are displayed in the Parameters field.

  8. In the Parameters field, select an input parameter.

  9. In the Expression field, define the value for the input parameter that the data provider requires when retrieving the data from the external system.

    The value is evaluated at run-time and is based on the XPath or XQuery expression you define in the Expression field.

  10. (Optional) Select Use Default Expression to use the default expression data defined for the parameters.

    For example, if you were creating a Data Instance behavior to obtain a list of available ports from inventory, you might define an end point parameter to provide the server connection information required to connect to the inventory system. You can define (in the Data Provider editor) the default information defined for the end point parameter, and use that information for the corresponding Data Instance behavior.

  11. Click the Details tab.

    The Behaviors Properties view Details tab is displayed. The Name, Type, and Path field values are read-only, and cannot be modified on this tab. See "Defining Behavior Detail Properties" for more information about the options that you can define on this page.

  12. Click the Conditions tab.

    Use the Conditions tab to add conditional logic to the Data Instance behavior. See "Defining Behavior Condition Properties" for more information about defining conditions for behaviors.

  13. Click the Notes tab.

    Use the Notes tab to describe the functionality or include internal documentation about the Data Instance behavior.