Call Script Functions in the Application
Parameter Configuration
| Parameter | Description |
|---|---|
| Script | The script file where the function to be called is located |
| Function | The function in the called script file |
| Input Parameters | List of parameters passed when calling the script function, |
| Capture Call Exceptions | Whether to capture exceptions in the executed script function |
Return Values
| Parameter | Type | Description |
|---|---|---|
| Return Value | Object | Return value after script function execution |
| Exception Code | Integer | Exception code when the script function execution throws an exception |
| Exception Message | String | Exception message when the script function execution throws an exception |
Usage Instructions
To centralize and branch manage scripts, this step can be used
Notes
Functions in the called script file must use es6's export modifier to expose the function externally
Capture Call Exceptions
- If not enabled, exceptions will terminate the entire automation and directly roll back uncommitted transactions
- After enabling, exceptions can be handled through the Exception Code and Exception Message returned by the step

