The following is a summary of IF-ELSE and STEP statements used in Service Desk procedures.
IF-ELSE Statements
Evaluate a given variable. |
|
Adds an else command underneath a corresponding if command. |
|
Compares inbound email to determine if it is a duplicate of an existing ticket. |
|
Tests whether the ticket is a reopened ticket. |
|
Tests whether a ticket is closed. |
|
Tests whether a ticket or KB article is currently within the coverage schedule. |
|
Compares a custom field value in a ticket to a specified value or variable. |
|
Compares the value of a field in a ticket to a specified value or variable. |
|
Compares the value of a field in an inbound email to a specified value or variable. |
STEP Statements
Adds a note to the ticket being processed by the procedure. |
|
Adds a note and time to the ticket being processed by the procedure. |
|
Assigns a value to a custom field in a ticket. |
|
Assigns a value to the custom field of a new ticket created using the createTicket() command. |
|
Assigns a value to the property of a new ticket created using the createTicket() command. |
|
Assigns a value to the property of the current ticket. |
|
Cancels the creation of the ticket. |
|
Adds a one line comment to the procedure. |
|
Creates a new ticket in a specified service desk. |
|
Deletes the ticket being processed by the procedure. |
|
Executes a script written in VB or C#. |
|
Executes a shell command on the Kaseya Server. |
|
Executes an SQL non-query command on the Kaseya Server SQL Server database. |
|
Executes an SQL select query command on the Kaseya Server SQL Server database. |
|
Starts another procedure. |
|
Exits the current procedure. |
|
Changes made to a ticket are not saved to the database. |
|
Returns a selected property value from the last audit of the agent machine associated with the ticket. |
|
Gets a entered value or a value from a file stored on the Kaseya Server. |
|
Associate another ticket with the ticket being processed. |
|
Pause counting elapsed time against the stage goal. |
|
Pause counting elapsed time against the ticket goal. |
|
Reopens a closed ticket. |
|
Resume counting elapsed time against the stage goal. |
|
Resume counting elapsed time against the ticket goal. |
|
Runs a selected agent procedure for a specified machine. |
|
Sends an email to one or more recipients. |
|
Sends a message to the inbox of a user. |
|
Sends a message to the inbox of each user included in a pool. |
|
Sends a POST request to a specified URL. |
|
Sets the time a ticket is escalated. |
|
Sets the time a ticket or stage goal is scheduled to be completed. |
|
Set the due date for the entire ticket. |
Where Used
These IF-ELSE and STEP statements are used by the following types of Service Desk procedures.
IF-ELSE Statements |
Stage Entry or Exit |
Ticket Change |
Ticket Request De-Dup |
Ticket Request Mapping |
Ticket Goals |
Ticket Escalations |
Sub-Procedures |
|
|
|
|
|
|
||
|
|
|
|
|
|||
|
|
|
|
|
|
||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
|
|
|
STEP Statements |
Stage Entry or Exit |
Ticket Change |
Ticket Request De-Dup |
Ticket Request Mapping |
Ticket Goals |
Ticket Escalations |
Sub-Procedures |
|
|
||||||
|
|
|
|
|
|
||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
|
|
|
||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|