Script execution
Overview
The Script Execution task allows you to run custom logic directly within your workflow by sending a script to the script execution engine. This task is useful for lightweight computations, data transformations, or conditional logic.
{
"_name": "script_execution",
"_type":"SCRIPT_EXECUTION",
"_sequenceno": 1,
"_inputParams": {
"_userType": "workflow_userType",
"_scriptName": "iaffetch"
}
}
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
_name | String | No | Give the task a custom name. |
_type | String | Yes | Enter "SCRIPT_EXECUTION". |
_sequenceno | Number | No | Enter a number to order the task in the sequence of tasks. |
_inputParams | Object | Yes | An object that describes the task's parameters |
_userType | String | Yes | The script's userType |
_scriptName | String | Yes | The script's name |