To create a new procedure, select a cabinet or folder in the middle pane, then click the New Procedure button to open the Creating / Editing Agent Procedures.
To edit an existing procedure, select the procedure, then click the Edit Procedure button to open the Creating / Editing Agent Procedures. You can also double-click a procedure to edit it.
Note: Access to creating or editing a procedure depends on your Folder Rights.
The Agent Procedure Editor
All statements you can add to an agent procedure display in the left-hand pane. Agent procedures display in the middle pane of the editor on one more tabs. The parameters for each statement display in the right-hand pane.
Note: See IF-ELSE-STEP Statements for a detailed explanation of each statement's parameters.
Action Buttons
These buttons display in the middle pane of the procedure editor.
Procedure
New - Creates an empty tab for a new procedure.
Open - Edits an existing procedure.
Save - Saves the currently selected procedure.
Save As - Saves the procedure to a different name. A dialog enables you to select the folder used to save the procedure.
Edit - The following buttons are only enabled when one or more statements are selected.
Undo - Undoes the last edit.
Redo - Redoes the last edit.
Cut - Cuts selected lines.
Copy - Copies selected lines.
Paste - Pastes copied lines.
Remove - Removes selected lines.
Goto Line - Selects the line number you specify.
Search - Searches for matching text in commands, parameters and values.
Insert Lines - Inserts a blank line that you can then begin typing into. This displays a drop-down list of commands that you can select a command from and insert into the procedure.
Indent Lines - Indents selected lines
Outdent Lines - Outdents selected lines.
Help
Help Tips - Display tooltips on how to use the procedure editor.
Online Help - Displays online help.
Drag and Drop
Drag and drop any statement above or below any other statement.
Drag and drop any comment above or below any statement.
A statement is automatically indented when dropped below an IF statement, except for an ELSE statement.
You can nest steps within multiple IF or ELSE statements. Just drag-and-drop an IF or ELSE statement below an IF statement to insert it as a child statement.
Guidelines
Click any STEP, IF or ELSE statement in the middle pane to see its settings in the right-hand pane. You can edit these settings in the right hand pane or click any value in a statement directly to edit it.
Multiple lines can be selected and acted on at one time.
Right click selected lines to get additional options.
Enter a value at the top of the left pane to filter the list of statements you can select.
Hovering the cursor over any statement in the left or middle pane displays a tooltip description of that statement. The same description displays at the top of the third pane.
Hovering the cursor to the left of selected statements displays icons. Click these icons to remove, indent or outdent selected statements.
When entering a value for a variable into a parameter:
Enter a < to select from a list of system variables.
Open and work on multiple procedures simultaneously. Each procedure you open displays in a separate tab. Copy and paste selected statements between tabs.
You can set a STEP to Continue on Fail. This allows a procedure to continue running even if that particular STEP fails.
Click the blank line at the bottom of the procedure to edit the description for the entire procedure.