Hitachi

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


3.6.5 Whether properties can be mapped depending on the visibility or data type

We recommend that you use the same visibility and data type for both the property from which a value is inherited and the property that inherits the value when the properties are mapped. If the visibility or data type for the properties are different, an error might occur while the service template is built, depending on the combination of the visibility settings or data type settings. If an error occurs, in the Property tab of the Service Builder Edit window, check and (if necessary) change the visibility or data type for the service properties.

Whether properties can be mapped depending on the visibility

For the property that inherits the property value, specify the same level or a lower level of visibility than the property whose value is inherited. The lower level of visibility means that the range open to the public (the windows that display properties) is limited. If the property that inherits the value has a wider range open to the public than the property whose value is inherited, an error occurs when the service template is built.

The following table describes whether properties can be mapped depending on the combination of visibility settings.

Table 3‒6: Whether properties can be mapped depending on the combination of the visibility settings when input properties are edited

Visibility for the property whose value is inherited

Visibility for the property that inherits the value (input property)

Input property of the service (with a related step)

Input property of the step#

Edit and Submit Window

Edit Window Only

Input property of the service (with no related steps)

Edit and Submit Window

Y

Y

Y

Edit Window Only

N

Y

Y

Input property of the service (with a related step)

Edit and Submit Window

Y

Y

Y

Edit Window Only

N

Y

Y

Variable#

N

N

Y

Input property of the step#

N

N

Y

Output property of the step#

N

N

Y

Legend:

Y: The properties can be normally mapped. N: The properties can be mapped, but an error occurs when the service template is built.

#

Step properties and variables are internal properties that can be viewed or set when users in a Develop or higher role develop service templates. Therefore, the visibility is at a lower level than a service property.

Table 3‒7: Whether properties can be mapped depending on the combination of the visibility settings when output properties are edited

Visibility for the property whose value is inherited (output property)

Visibility for the property that inherits the value

Output property of the service (with no related steps)

Output property of the service (with a related step)

Variable#

Output property of the service (with a related step)

Y

N

N

Output property of the step#

Y

N

Y

Legend:

Y: The properties can be normally mapped. N: The properties can be mapped, but an error occurs when the service template is built.

#

Step properties and variables are internal properties that can be viewed or set when users in a Develop or higher role develop service templates. Therefore, the visibility is at a lower level than a service property.

Whether properties can be mapped depending on the data type

For the property that inherits the property value, specify a data type that can handle the data type of the property whose value is inherited. Note that step properties and the reserved.loop.output reserved property have no data type. However, if the component that the step is based on is a basic plug-in, data type is set for some of the step properties. If such a step property is elevated to a service property, you can check the data type in the Edit Input Property for Service dialog box.

The following table describes whether the properties can be mapped depending on the combination of the data type settings.

Table 3‒8: Whether properties can be mapped depending on the combination of the data types when input properties are edited (values passed from input properties)

Data type for the input property whose value is inherited

Data type for the property (input property) that inherits the value

boolean

integer

string

double

date

password

composite

No data type

boolean

Y

N

Y

N

N

N

Y

Y

integer

N

Y

Y

N

N

N

Y

Y

string

N

N

Y

N

N

N

Y

Y

double

N

N

Y

Y

N

N

Y

Y

date

N

N

Y

N

Y

N

Y

Y

password

N

N

N

N

N

Y

N

Y

composite

N

N

N

N

N

N

Y

Y

No data type

N

N

Y

N

N

N

Y

Y

Legend:

Y: The properties can be normally mapped. N: The properties can be mapped, but an error occurs when the service template is built.

Table 3‒9: Whether properties can be mapped depending on the combination of the data types when input properties are edited (values passed from output properties)

Data type for the output property whose value is inherited

Data type for the property (input property) that inherits the value

boolean

integer

string

double

date

password

composite

No data type

boolean

Y

N

N

N

N

N

Y

Y

integer

N

Y

N

N

N

N

Y

Y

string

Y

Y

Y

Y

Y

N

Y

Y

double

N

N

N

Y

N

N

Y

Y

date

N

N

N

N

Y

N

Y

Y

password

N

N

N

N

N

Y

N

Y

composite

N

N

N

N

N

N

Y

Y

No data type

N

N

N

N

N

N

N

Y

Legend:

Y: The properties can be normally mapped. N: The properties can be mapped, but an error occurs when the service template is built.

Table 3‒10:  Whether properties can be mapped depending on the combination of the data types when output properties are edited

Data type for the property (output property) whose value is inherited

Data type for the property that inherits the value

boolean

integer

string

double

date

password

composite

No data type

boolean

Y

N

Y

N

N

N

Y

N

integer

N

Y

Y

N

N

N

Y

N

string

Y

Y

Y

Y

Y

N

Y

Y

double

N

N

Y

Y

N

N

Y

N

date

N

N

Y

N

Y

N

Y

N

password

N

N

N

N

N

Y

N

N

composite

N

N

N

N

N

N

Y

N

No data type

Y

Y

Y

Y

Y

Y

Y

Y

Legend:

Y: The properties can be normally mapped. N: The properties can be mapped, but an error occurs when the service template is built.

Tip

When properties are mapped, the restrictions on input characters and maximum length that are set for the property whose value is inherited are ignored, and the restrictions on the property that inherits the value are applied. Therefore, set restrictions on the property that inherits the value by considering the property value that is inherited.