Executing a script

After you have finished authoring a script, you can execute it to test it before you put it into production.

Procedure

  1. Go to System Configuration > Platform Configuration > Automation Scripts.
  2. 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.
  3. Click Execute ScriptExecute 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.

  4. Click Close to close the dialog and return to the Details tab.


Feedback