Hitachi

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


2.3.3 Definitions in service resource files

The definitions in the service resource file depend on the type of display items you are setting. You can specify the following definitions in the service resource file:

Setting items displayed in the Edit Service Template Attributes dialog box

Define entries in the following format to set the service template names, descriptions, and other information displayed in the Edit Service Template Attributes dialog box.

property-key delimiting-character setting-value

For example, enter a definition in the format service.displayName=This is a test service..

When specifying display items for a step

Define entries to set the step name and description. The step name and description are displayed in the Flow area of the Tasks window when you execute the service.

Setting a step name

To set a step name in a service template, enter a definition in the following format:

dnajob.step-ID.displayName delimiting-character setting-value

For example, enter a definition in the format dnajob.teststep.comment=This is a test step..

Setting a step description

To set a description of a step, enter a definition in the following format:

dnajob.step-ID.comment delimiting-character setting-value

For example, enter a definition in the format dnajob.teststep.comment=This is a test step..

When specifying display items for a step that is not on the highest hierarchical level of a flow

Specify the step IDs from the step at the highest hierarchical level to the target step, connecting them with slashes (/).

For example, to specify a resource in Step F in the figure below, connect the step ID for Step B at the highest hierarchical level to the step ID for Step F. To specify a resource in Step I, connect the step IDs of Step B, Step G, and Step I.

Figure 2‒8: Example of specifying resources in Step F and Step I

[Figure]

The following shows how to specify resources in Step F and Step I in a service resource file.

dnajob.StepB/StepF.displayName=Step F
dnajob.StepB/StepF.comment=Step F description
dnajob.StepB/StepG/StepI.displayName=Step I
dnajob.StepB/StepG/StepI.comment=Step I description