Execute Script

ID: executeScript

Executes a script attachment of a node.

The configuration for this action is described using JSON Schema like this:

{
    "script": "if (typeof(node.data.count) === 'undefined') { node.data.count = 0; }; node.data.count++;"
}
Property Required Default Description
script yes String containing the script
scriptMimetype no application/javascript String
methodName no The method name of the script
args no The arguments for the method in the script