Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
Script of same project |
- |
Required |
Not available |
Select when you call a script in the same project. |
|
Script |
Required |
Available |
Select or enter the script name to be called. |
- Enabled when [Script of same project] is selected.
|
Script of other project |
- |
Required |
Not available |
Select when you call a script in another project. |
|
Shared project |
Optional |
Not available |
Select whether or not to display shared projects in [Project] list.
- [Checked]:
Display only the shared projects in [Project] list.
- [Not checked]: (default)
Display only the non-shared projects in [Project] list.
|
- Enabled when [Script of other project] is selected.
|
Owner |
Required |
Not available |
Select an owner of projects to be displayed in [Project] list. |
- Displayed when the login user has administrator rights.
- Enabled when [Script of other project] is selected.
- Default value is login user.
|
Project |
Required |
Available |
Select or enter a project in which the script to be called is included. |
- Enabled when [Script of other project] is selected.
|
Script |
Required |
Available |
Select or enter a script name to be called. |
- Enabled when [Script of other project] is selected.
|
Script of deployed project in server |
- |
Required |
Not available |
Select when you call a script of deployed project in server. |
|
Service |
Required |
Available |
Select or enter a service in which the script to be called is included. |
- Enabled when [Script of deployed project in server] is selected.
|
Script |
Required |
Available |
Select or enter a script name to be called. |
- Enabled when [Script of deployed project in server] is selected.
|
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
Edit list manually |
Optional |
Not available |
Select whether or not to configure [Input variable]/[Output variable] manually.
- [Checked]:
Configure the lists manually.
- [Not checked]: (default)
The lists are configured automatically.
|
|
Input variables |
Optional |
- |
Specify input variables of the script to be called. Also, enter the values to be passed to the input variables.
Each column can be operated with the following buttons.
- [Add]:
Add a variable.
- [Delete]:
Delete the variable.
|
- When [Edit list manually] is checked, the buttons to operate each column are enabled.
|
Input variables/Variable name |
Required |
Not available |
Enter the variable name. |
- When [Edit list manually] is checked, variable name can be entered.
|
Input variables/Type |
Required |
Not available |
Select variable type.
- [String]: (default)
- [Integer]:
- [Decimal]:
- [Date/Time]:
- [Boolean]:
- [Binary]:
- [XML]:
|
- When [Edit list manually] is checked, variable type can be selected.
|
Input variables/Required |
Optional |
Not available |
Select whether or not to set [Input variables/Value] as required item.
- [Checked]:
Set [Input variables/Value] as required item.
- [Not checked]: (default)
Do not set [Input variable/Value] as required item.
|
- When [Edit list manually] is checked, you can check / uncheck this.
|
Input variables/Value |
Optional |
Available |
Enter the value to be passed to the variable. |
It is required when [Validation on build] in “Option settings” of Designer is enabled and [Input variables/Required] is checked.
|
Output variables |
Optional |
- |
Specify output variables to be received from the script to be called.
Each column can be operated with the following buttons.
- [Add]:
Add a variable.
- [Delete]:
Delete the variable.
|
- When [Edit list manually] is checked, the buttons to operate each column are enabled.
|
Output variables/Variable name |
Required |
Not available |
Enter the variable name. |
- When [Edit list manually] is checked, variable name can be entered.
|
Output variables/Type |
Required |
Not available |
Select variable type.
- [String]: (default)
- [Integer]:
- [Decimal]:
- [Date/Time]:
- [Boolean]:
- [Binary]:
- [XML]:
|
- When [Edit list manually] is checked, variable type can be selected.
|
Component variable name |
Description |
Remarks |
exitStatus |
The return value of the script to be called is stored. |
|
message_category |
When an error occurs, the corresponding message code's category is stored. |
|
message_code |
When an error occurs, the corresponding message code is stored. |
|
message_level |
When an error occurs, the corresponding message code's severity is stored. |
|
error_type |
When an error occurs, the error type is stored. |
- Default value is null.
- The error type will be in the following format.
Example: “java.io.FileNotFoundException”
The contents that will be stored may vary depending on DataSpider Servista versions.
|
error_message |
When an error occurs, the error message is stored. |
- Default value is null.
The contents that will be stored may vary depending on DataSpider Servista versions.
|
error_trace |
When an error occurs, the error's trace information is stored. |
- Default value is null.
The contents that will be stored may vary depending on DataSpider Servista versions and client applications.
|
[<output variable name>] |
Value of a variable set in [Output variables] is stored. |
- Default value is null.
- XML type output variables will not be output as component variable. It is output as result data.
|
Exception name |
Cause |
Solution |
InvalidPropertyConfigurationException
<property name> is not specified. |
[<property name>] is not specified. |
Specify [<property name>]. |
ProjectNotFoundException |
The service specified in [Service] is not deployed in the server. |
Check whether the service specified in [Service] is deployed in the server or not. |
ScriptCallFailedException |
The called script failed. |
Check the contents of the called script. |
ScriptNotFoundException |
Script specified in [Script] is not found. |
Check whether the script specified in [Script] exists or not. |
ScriptCallViolationException |
The same project is specified in [Project] of [Script of other project]. |
Specify another project in [Project]. |
ScriptLoadFailedException |
In [Script of other project], the project specified in [Project] or the script specified in [Script] is not found. |
Check the following.
- Whether the project specified in [Project] exists
- Whether you have read permission for the project specified in [Project]
- Whether the script specified in [Script] exists.
- Whether there is a build error for the script specified in [Script].
|