executeNodeCommands

Executes Node JS script using the given inputs as parameters. You can specify which Node install you want to execute. See installNodeJS to install node and global packages prior to running this operation.

Inputs

Input NameInput CodeRequiredDescription
Node Executable PathFDNODE_INP_NODE_EXE_PATHNoAn absolute path to a Node executable. If not provided node must be on PATH.
Working DirectoryFDNODE_INP_WORKING_DIRECTORYNo

The working directory where the node commands will be executed. This path can be absolute or relative. If relative the path will be relative to the temp directory. If not provided directory containing package.json will be used.

Node CommandsFDNODE_INP_NODE_COMMANDSYesThe script of commands to be executed with the specified installation of Node JS.
Artifacts to SaveFDNODE_INP_ARTIFACTS_TO_SAVENo

This path will be relative to working directory. Use '.' notation to save the entire working directory. If no value is provided no artifacts will be saved. If produces artifacts is false, no artifacts will be created.

Artifacts

This operation delegates the consume/produce artifacts decision to the workflow developer.

Endpoint Selection

This operation will select all available endpoints associated to the environment/instance.

Endpoint Execution 

This operation will execute on any one of the selected endpoints and will be random in the determination of which one.