Skip to main content

Custom Javascript Code-1.0.0

Sandboxed JS runner.
key: CCJS

Inputs​

1. Source Code (key: src)​

Must return an Object. e.g., return { hello: 'world' };. Variables 'input' and 'output' can be read.
Required: true
Data Type: string

Next Stages​

1. SUCCESS​

2. ERROR​

Outputs​

1. statusCode​

Status code number: 0 if successful
Required: no
Data Type: number

2. error​

Error message.
Required: no
Data Type: string

3. data​

Returned value.
Required: no
Data Type: any