Script Page

Show Window Sample

The Script page defines the script to be executed.

Name

Provide a descriptive name for this script. If the script is Shared, a name is required. Otherwise the name is optional. The name must be unique across all scripts.

Shared

Check this option to allow the script to be shared among jobs, responses, etc. If the script is not Shared it will be available only for the object with which it is associated.

When a script is shared the Security page will be visible, allowing you to specify permissions for the script.

Once you have checked the Shared option and clicked OK, the script cannot be "unshared." If you no longer want it to be shared you must delete it and recreate it.

Description/Notes

Enter any extended descriptive information or notes for this script. There is no limit on the length of the text.

Language

Select or enter the language that the script uses. The language must be a scripting language recognized by the Window Scripting Host on the server By "server" we mean the computer on which the adTempus service is running. Note that the list only lists VBScript and JScript as predefined values, even if other scripting languages are installed. You must type in the name of the script language if you are using a language other than one of these.

Included Script Libraries

If your script uses procedures from any Script Libraries, select them here to make them available to the script.

Script

Provide the body of the script.

Maximum Execution Time

Specify the maximum time (in seconds) that the script should be allowed to run. (This feature prevents against "runaway" scripts.)

If you do not want to set a limit, specify a value of 0. This will cause the scripting host to monitor execution of the script and abort it if the script host detects a problem.

Validate

Click the Validate button to validate your script. adTempus will check to ensure that the code appears valid. The script is automatically validated when you click the OK button.

Test

Click Test to validate and execute your script. If the script returns a value, that value will be displayed.

Validation and testing of the script occur on the computer that the Console is running on. If you are connected to the adTempus server from a remote computer and your script refers to external objects, files, etc., you should test the script from a Console running on the computer that hosts the server to be sure that it will work correctly on the server.

 

Script Properties

Script Overview