The Orchestrator scripting engine uses the Mozilla Rhino JavaScript engine to help you write scripts for actions or policies. You access the scripting engine for actions and policies from the Scripting tabs in the action and policy editors.

1

Select an option from the drop-down menu in the Orchestrator client, depending on the type of the element whose scripting you want to edit.

Option

Description

Design

Select this option to edit the scripting of an action element.

Run

Select this option to edit the scripting of a policy.

2

Right-click an action or policy in the Actions or Policies views and select Edit.

3

Click the Scripting tab in the action or policy editor.

You accessed the scripting engine to define the scripted functions of action or policy 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.