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 Flow tab of theService 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.
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.
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.
Data type for the property whose value is inherited |
Data type for the property that inherits the value (input property) |
|||||||||
---|---|---|---|---|---|---|---|---|---|---|
Property type |
Data type |
boolean |
integer |
string |
double |
date |
password |
list |
composite |
No data type |
Input property |
boolean |
Y |
N |
Y |
N |
N |
N |
N |
Y |
Y |
integer |
N |
Y |
Y |
N |
N |
N |
N |
Y |
Y |
|
string |
N |
N |
Y |
N |
N |
N |
N |
Y |
Y |
|
double |
N |
N |
Y |
Y |
N |
N |
N |
Y |
Y |
|
date |
N |
N |
Y |
N |
Y |
N |
N |
Y |
Y |
|
password |
N |
N |
N |
N |
N |
Y |
N |
N |
Y |
|
list |
N |
N |
Y |
N |
N |
N |
Y |
Y |
Y |
|
composite |
N |
N |
N |
N |
N |
N |
N |
Y |
Y |
|
No data type |
N |
N |
Y |
N |
N |
N |
N |
Y |
Y |
|
Output property |
string |
Y |
Y |
Y |
Y |
N |
N |
Y |
Y |
Y |
password |
N |
N |
N |
N |
N |
Y |
N |
N |
Y |
|
composite |
N |
N |
N |
N |
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.
Data type for the property whose value is inherited (output property) |
Data type for the property that inherits the value |
|||
---|---|---|---|---|
string |
password |
composite |
No data type |
|
string |
Y |
N |
Y |
Y |
password |
N |
Y |
N |
N |
composite |
N |
N |
Y |
N |
No data type |
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.