Hitachi

JP1 Version 11  JP1/Automatic Operation Service Template Developer's Guide 


3.6.3 Procedure for mapping step property values

If you map properties, the property value can be inherited between the properties. For example, if you map the output property of Step A to the input property of Step B, the value of the output property of Step A can be inherited by the input property of Step B.

To set mapping of step properties:

  1. Select a step in the Flow area on the Flow tab of the Service Builder Edit window.

  2. In the Step Properties area, click the Property tab and then click the icon for the input or output property.

  3. Select the row corresponding to the property you want to map, and then click the pencil icon.

    Figure 3‒12: Step Properties area

    [Figure]

  4. In the Specify Component Input Property Mapping Parameters dialog box or Specify Component Output Property Mapping Parameters dialog box, select the View Property radio button.

    Only properties that can be mapped are shown in the Properties area.
    Figure 3‒13: Specify Component Input Property Mapping Parameters dialog box (when View Property is selected for Setting Method)

    [Figure]

    Tip
    • If you click the Available icon ([Figure]), filtering switches off and the properties that cannot be mapped are also displayed. If you point to an error icon, the reason why the property cannot be mapped is displayed.

    • Entering information into the Specify Component Input Property Mapping Parameters dialog box

      • To display service properties, reserved properties, or variables

        Select a service template name in the Step Tree area. You can display the service properties that belong to a property group by clicking the icon to the left of the property group name. Reserved properties and variables are displayed in the default property group.

      • To display step properties

        In the Step Tree area, select a step name. The properties for the step are displayed in the Properties area. By default, the steps before the selected step are displayed in the Step Tree area. If you select the Show All Steps check box, all steps in the flow are displayed in the Step Tree area.

  5. In the Properties area, select the property you want to map.

  6. Click the OK button.

Operation result

Properties are mapped.

Tip
  • You can create a new service property and map it to a step property. The service properties you created are displayed in the Specify Component Input Property Mapping Parameters dialog box or Specify Component Output Property Mapping Parameters dialog box, and can be mapped in the same way as step properties.

  • If the visibility or data type is different between the mapping-source property and the mapping-destination property, an error might occur while the service template is built. For details about whether properties can be mapped depending on the visibility or data type, see 3.6.5 Whether properties can be mapped depending on the visibility or data type.

  • By default, the Message service property is provided for output properties. Message is a service property used to output the execution result to the Task Details window. If you map Message to the output property of a step, you can output the output property value as the execution result.

    Note that you can edit or delete Message. If you delete Message and then add a service property with the same property key, the output property value is displayed in the Task Details window.