Creating Scripts

All types of task can have scripts that write information to a destination-specific system. User tasks can have scripts that are run for example, when the work item is opened or closed.

The Scripts tab allows you to add text that describes these scripts. It is the task of the solution engineer to translate the outline of the script into a scripting language supported by the selected destination environment.

Procedure

  1. Click the task to which you want to add a script.
  2. In the Properties view for the task, click the Scripts tab.
  3. The Scripts available are divided into two sets, Process Manager Scripts and Work Manager Scripts. Open the set you require (if one set is not available to you for this task, it will be grayed out)
  4. Click the tab for the desired type of script. Any tabs that have scripts defined have a script icon before the script name. Tabs with no script defined have an empty script icon. So in the example above, a script is defined for the Initiate Script and Cancel Script tab.
  5. Select Free Text from the Script Defined As list. Describe your script in the area provided. For more information about how the various types of scripts are implemented, see the appropriate implementation guide.

Result

Note: You can highlight tasks in a process that contain scripts. Click in the Process Editor for the process. On the toolbar, you will see a button:

Click on this to see the dropdown, and select Highlight Activities with Scripts.

This will highlight all activities in a process that contain scripts, and all other activities will be grayed out.