Tools for managing Script definitions.
Supported Platforms: 7.2x, 8.0x, 8.2x
Table of Contents
- Add Script
- Modify Script Information
- Change Organization
- Copy Script
- Delete Script
- Export Script
- Modify Script
- View Script References
Script Management Functions
The following script management functions apply to scripts defined in the Scripts folder. They are available:
- On the Script Summary
- From the Script Summary drop-down menu
- Via the Actions Portlet on the Script > Details page
Allows you to define common functions that you might need to perform in your scripts, and then save them in Script objects so that you can re-use them. Notes:
- To make use of common functions from a Script Activity or QoS Script Policy, you must import the Script objects defining those functions.
- The Imports area is where those scripts are identified for import.
- You can move any number of scripts in the tree to the Imported Scripts list box.
- Only scripts that match the language type will be available for selection in the tree.
- The script does not return a value.
Modify Script Information
Allows you to change the name and description of a script.
Allows you to move the current script configuration to a different Organization. Notes:
- If a script is referenced in process definitions via the Script Activity, it can only be moved within the current Script Scope (for example, Organization, Service, or Operation).
- If you want to move a script to a different Organization, the references must stay in scope.
- To determine what references a script might have, go to the script and then select View Script References.
- To remove script references, remove the Script Activity that contains the reference from the script definition.
Allows you to replicate a script definition and assign new values for Script Name and Script Key. Using this function, you can:
- Configure elements that represent core functionality of a script.
- Replicate the core elements to a new script.
- Perform additional customization on the copy.
Deletes the selected script definition. In order to delete a script, it must not be referenced—that is, used/imported in one or more Script Activity definitions. The number of script references is indicated in the # column; to view it, select View Script References.
If you want to delete a script, you must first remove the script from the list of imported scripts in the Script Activity in your process definition.
Provides a method of exporting a script definition to a Package file. This Package file can then be imported into a different Policy Manager deployment using the Import Package function.
Allows you to update your script definition.
View Script References
Displays processes and QoS Policies that are using the current script.