The Orchestrator scripting engine uses the Mozilla Rhino 1.6 JavaScript engine to help you write scripts for scripted elements in workflows. You access the scripting engine for scripted workflow elements from the Scripting tab in the workflow editor.

1

From the drop-down menu in the Orchestrator client, select Design.

2

Right-click a workflow in the Workflows view of the Orchestrator client and select Edit.

3

Click the Schema tab in the workflows editor.

4

Add a Scriptable Task element or a Custom Decision element to the workflow schema.

5

Click on the scriptable element's Scripting tab.

You accessed the scripting engine to define the scripted functions of workflow elements. The Scripting tab allows you to navigate through the API, consult documentation about the objects, search for objects, and write JavaScript.

Search the Orchestrator API using the API Explorer.