Call Script
Operation name
Call Script
Function overview
Calls a script in a project.
Properties
For details on use of variables, refer to Variables.
Basic settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Name |
Required |
Not available |
Enter a name that is used on the script canvas. |
|
Required settings
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. |
|
|
Script of other project |
- |
Required |
Not available |
Select when you call a script in another project. |
|
Workspace |
Required |
Available |
Select or enter a workspace that is set in another project. |
|
|
Project |
Required |
Available |
Select or enter a project in which the script to be called is included. |
|
|
Version |
Required |
Available |
Select or enter the version of the project. |
|
|
Script |
Required |
Available |
Select or enter a script name to be called. |
|
|
Use the latest version of the script when calling from a job |
Optional |
Not available |
|
|
Property actions
Item name |
Description |
Remarks |
---|---|---|
Open script |
Open the script to be called in Designer. |
Note
When the script or the registered project doesn't exist because it has been deleted or renamed or such, the script can't be opened. |
Input/Output
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.
|
|
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:
|
|
Input variables/Variable name |
Required |
Not available |
Enter the variable name. |
|
Input variables/Type |
Required |
Not available |
Select a variable type.
|
|
Input variables/Value |
Optional |
Available |
Enter the value to be passed to the variable. |
|
Output variables |
Optional |
- |
Specify output variables to be received from the script to be called. Each column can be operated with the following buttons:
|
|
Output variables/Variable name |
Required |
Not available |
Enter the variable name. |
|
Output variables/Type |
Required |
Not available |
Select a variable type.
|
|
Property actions
Item name |
Description |
Remarks |
---|---|---|
Reload |
Reload the lists of Input variables/Output variables of the script to be called. |
|
Comment
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Comment |
Optional |
Not available |
You can write a short description of this connector. |
|
Right-click menu
Item name |
Description |
Remarks |
---|---|---|
Open script |
Open the script to be called in Designer. |
|
Parallel Stream Processing
PSP isn't supported.
Available component variables
Component variable name |
Description |
Remarks |
---|---|---|
exitStatus |
The return value of the script to be called is stored. |
|
message_category |
When an error occurs, the category of the message code corresponding to the error is stored. |
|
message_code |
When an error occurs, the code of the message code corresponding to the error is stored. |
|
message_level |
When an error occurs, the severity of the message code corresponding to the error is stored. |
|
error_type |
When an error occurs, the error type is stored. |
|
error_message |
When an error occurs, the error message is stored. |
|
error_trace |
When an error occurs, the trace information for the error is stored. |
|
[<output variable name>] |
Value of a variable set in Output variables is stored. |
|
Input/Output variables
By setting script input/output variables to the script to be called, you can pass data between scripts.
For details, refer to Input/Output variables.
-
In Script of same project, if the contents of Mappers in the callee script, such as the settings of mapping or Mapper logic, are edited and if the script isn't built explicitly with any of the following actions, that editions won't be reflected in the caller script.
-
Save script
-
Build script
-
Exception name |
Cause |
Solution |
---|---|---|
InvalidPropertyConfigurationException <Property name> is not specified. |
<Property name> isn't specified. |
Specify <property name>. |
ProjectNotFoundException |
|
|
ScriptCallFailedException |
The processing of the called script failed. |
Check the contents of the processing of the called script. |
ScriptNotFoundException |
The script specified in Script isn't 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 isn't found. |
Check the following:
|