3.6.7 Example of defining step properties
This subsection describes an example of defining step properties when creating a service template.
Assume a service template that executes Step A and Step B in this order. Step B is executed for the folder in which the output result of Step A is stored. Values of some properties are not fixed in the service template, but are specified each time a service is executed.
Definitions
The following table describes the definitions of the step properties.
Property type |
Property name |
Definition |
---|---|---|
Input property |
Capacity |
The value is fixed at 10. You do not need to change this value. |
Execution server |
Specify the value when a service is executed. |
|
Output property |
Path to the folder storing the output result |
You do not need to check the output result in the Task Details window. |
Property type |
Property name |
Definition |
---|---|---|
Input property |
Path to the execution folder |
Specify the folder to store the output result of Step A. |
Output property |
Output result of Step B |
Check the output result in the Task Details window. |
Settings
Because the value of the Capacity property is fixed at 10, in the Step Properties area on the Flow tab of the Service Builder Edit window, directly enter 10 in the text box in the Value column.
To specify the value of the Execution server property when a service is executed, in the Step Properties area on the Flow tab of the Service Builder Edit window, select the check box in the GUI Visibility to elevate the property to a service property.
To execute Step B for the folder storing the output result of Step A, select the "Path to the execution folder" property of Step B, and in the Specify Component Input Property Mapping Parameters dialog box, specify the "Path to the folder storing the output result" property of Step A.
After the service is executed, to check the "Output result of Step B" property in the Task Details window, in the Step Properties area on the Flow tab of the Service Builder Edit window, select the check box in the GUI Visibility to elevate the property to a service property.
Data flow
The following figure shows the data flow of individual properties.
The value specified by the user who submits the service in the Submit Service window is stored as the value of the "Execution server" property of Step A.
The value output to the "Path to the folder storing the output result" property of Step A is stored as the value of the "Path to the execution folder" property of Step B.
The "Output result of Step B" property of Step B is displayed in the Task Details window.