Overview
This chapter contains examples which illustrate the use of script elements on the basis of scripts and illustrations.
In each example, information is provided as shown below:
- Objective - Provides a short description about the purpose of the example.
- Objects used - Lists the object types that are used in the particular example.
- Script elements - Lists the names of script statements and functions that are used in the example.
The User Guide contains a detailed description of all the available script elements. These documents are linked to the Sample Collection's examples in which they are used. This ensures that you can easily apply the particular script elements.
Automic recommends working through the introductory chapters Getting Started and About Scripts before starting with this chapter because they familiarize you with the system and provide a sound background knowledge.
Beginners
Example |
Description |
---|---|
The notification that is given by the notification should include a message text depending on the task that activates it. |
|
The AE database should be archived automatically by using a workflow. A dialog should open in which the user can enter the specific settings. |
Advanced Users
Example |
Description |
---|---|
Dynamic input dialog for job Activation | The creation of an input mask in order to select one or several agents on which a job should run. The available agents are dynamically retrieved from the AE database at runtime. |
Controlling the Behavior of FileTransfers by using Conditions in a workflow | A file transfer should be started through a workflow. Within the workflow, the system should check whether the source and the target file are available and set the corresponding actions. |
The result of an MBean call should be transferred for further use. |
|
The report of a job should be screened for particular contents with the end status being set depending on the result of this search. |
|
An SAP event should be reported to the AE system so that a reaction is possible. |
|
If an error occurs, the particular message text and number should be retrieved and sent by email. |
|
Active jobs should be synchronized manually. |