Not all Orchestrator elements require you to write scripts. To provide maximum flexibility to your applications, you can customize certain elements by adding JavaScript functions.

You can add scripts in the following Orchestrator elements.


Actions are scripted functions. You can limit the scripting you write for an action to a single operation, to maximize the potential for action reuse by other elements, such as other workflows. Alternatively, an action can contain many operations, to limit the complexity of workflows, although this does reduce the capacity for reusing the action.


You set policies by using scripts that watch for trigger events. When the trigger events occur, policies launch orchestration operations that you define in scripts.


The Scriptable Task workflow element allows you to write a custom scripted operation or sequence of operations that you can use in the workflows. You also define the Boolean decision statement for custom decision elements in scripts that return either true or false.