Skip to main content
Version: v5.1

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.

ParameterTypeDescriptionRequired
_orchcompStringEnter “default_script_target”.Required
_nameStringEnter a descriptive name for what the component does in the orchestrator.Optional
_sequencenoIntegerEnter a number that defines the task’s order in the sequence of tasks to execute.Required
_actualparamsObjectPass 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    },