After you have finished authoring a script, you can execute it to test it before you put
it into production.
Procedure
- Go to .
- In the Script field, type the name of the script you want to
execute and press Enter.
The Details tab for the script is
displayed.
- Click Execute Script icon.
The system executes
the script, and the Script Results dialog is displayed, showing any errors.
Note: Executing the script does not allow you to test the script working in the Service Catalog
environment, but you can catch any syntax errors in your script.
Note: Jython determines blocks by indentation, and the execute script function will return a
non-specific "invalid decendent" message if it finds syntax or indentation errors.
For more information on creating and running Jython scripts, see http://www.jython.org.
- Click Close to close the dialog and return to the Details
tab.