Default script target
Overview#
The Default script target sends data to a Javascript execution engine.
How to use the Default script target#
To use the Default script target, pass an object with the parameters you require, from the schema table listed below. Also refer to the code sample listed below.
Default_script_target schema#
Pass an object with the parameters you require from the table below.
| Parameter | Type | Description | Required |
|---|---|---|---|
_orchcomp | String | Enter “default_script_target”. | Required |
_name | String | Enter a descriptive name for what the component does in the orchestrator. | Optional |
_sequenceno | Integer | Enter a number that defines the task’s order in the sequence of tasks to execute. | Required |
_actualparams | Object | Pass an object that contains parameters you want to add as key-value pairs, such as “userType”: “<your-user-type>”. This target has no formal parameters. | Optional |
Code example#
Refer to the code sample below.
… { "_orchcomp": "default_script_target", "_name": "Target for Javascript Execution Engine", "_sequenceno": 2 }, …