Triggers

Triggers

Triggers execute automated actions when certain events occur in the service desk. Triggers are useful for executing condition-based actions across modules or in third-party applications.

Use Case: Triggers automate several processes, such as sending customized email notifications, executing timed actions, creating a new request based on resources field information, or setting up integrated actions with third-party applications.

Triggers enable you to customize automatic processes for the following modules:
  1. Requests
  2. Problems
  3. Changes
  4. Projects
  5. Releases
  6. Solutions
  7. Assets
  8. CMDB
  9. Purchases
  10. Contracts
  11. Custom Module

Roles Required   
Module
Role Required
Requests
SDAdmin (for all sites), SDSiteAdmin/HelpDeskConfig (only for associated sites)
Assets
SDAdmin, AssetConfig
CMDB
SDAdmin, SDCMDBAdmin
Problems, Changes, Projects, Releases, Solutions, Purchase, Contracts, Custom Module
SDAdmin
 

Configure Triggers 

  1. Go to Setup > Automation > Triggers.
  1. Use the module drop-down to navigate to the relevant module.
  2. Click New Trigger.



Step 1: Provide Trigger Definition
Field Name
Description
Name
Give the trigger an appropriate name. This is a mandatory field.
Description
Briefly describe the trigger usage and associated actions.
Customer
Select the customer you wish to create the trigger. You can choose to create the trigger for a specific customer or select All Customers to apply the trigger universally across the application.
Trigger applies to
Choose the module sub-entity to which the trigger must be configured. This field value cannot be edited later.
Info
Click here to learn about the various sub-entities in each modules where triggers can be applied. 
 Execute  when a [module record] is
Choose when to execute the trigger - when a record is created, edited, or deleted in the selected module.

Idea
Record: An entity such as incident requests, changes, solutions, or assets created in various modules. 
Execute during
Choose the duration to execute trigger - any time, within, or outside the organization's operational hours. By default, Any time is selected.
Enable Trigger
Maintain the trigger in a usable status. If disabled, the trigger will not be executed.
 
Step 2: Specify Conditions
Field
Description
Apply triggers on this [module record]
Based on conditions - Define the criteria to apply the trigger
  1. Select column, criteria, and the value.
    1. In the Column drop-down, you can select sub-fields by clicking > beside the field name.
    2. For certain fields, you can enter $ in the value combo box to configure the criteria based on dynamic input.
  2. Click to add multiple criteria using AND/OR operators.
  3. Drag a criteria over the indentation space below another criteria to add it as sub-criteria. Criteria containing sub-criteria are denoted with a drop-down icon.
Info
 You can configure up to 50 criteria in a trigger. 


Without condition - Apply trigger to all records in the module.
Execute trigger when a [module record] is edited

(Displayed only if the trigger is applicable on edit operations)
If the trigger is set to execute when a record is edited and based on conditions, you can choose to execute the trigger:
  1. Every time - Every time a record is edited
  2. When any field in the condition is edited - Only if a field specified in the criteria is edited in the module/record.
 
Step 3: Configure Action

Choose the actions to be performed via the trigger. Custom actions available for each module vary on the sub-entity selected:
  1. Execute custom functions
  2. Create tasks
  3. Place webhook calls
  4. Execute timers
  5. Send notifications
  6. Execute Circuit (Available only for Request and Change modules if Zoho Circuit integration is enabled)

Info
Notifications created within triggers, that are created under the All Customers filter, will be generated for the MSP Base Site.


Sub-Entities Available 

Module
Sub-Entities Available
Requests
Requests
Tasks
Approval Levels
Approvals
Notes
Email responses (for users)
Work logs (requests and tasks)
Work log timer
Problems
Problems
Tasks
Notes
Email responses (for users)
Work logs (problems and tasks)
Changes
Changes
Tasks
Approval Levels
Approvals
Notes
Email responses (for users)
Work logs (changes and tasks)
Downtimes
Projects
Projects
Milestones
Tasks (projects and tasks)
Work logs (tasks. projects, and milestones)
Project Members
Comments (tasks. projects, and milestones)
Releases
Releases
Tasks
Approval Levels
Approvals
Notes
Email responses (for users)
Work logs (releases and tasks)
Downtimes
Solutions
Solutions
Comments
Assets
All Assets
Each Product Type
CMDB
All CIs
Each CI Type
Purchases
Purchases
Approval Levels
Approvals
Payments
Invoices
Contracts
Contracts
Custom Module
Custom modules
 

List View Operations 

After triggers are created, they are listed on the list view page where you can perform the following actions:
  1. Preview trigger: Click a trigger row to expand and preview the details.
  2. Edit trigger: Click > Edit beside the required trigger.
  3. Enable/Disable trigger: Click > Enable/Disable beside the required trigger. The option differs based on the status of the trigger. You can also use the toggle option under Status column.
  4. Delete trigger: Click > Delete beside the required trigger.
  5. Bulk Actions: You can enable, disable, or delete triggers in bulk. Select the required triggers using the checkbox beside each trigger. Click Actions and choose the required action.
  6. Search triggers: Use the icon to search through triggers using criteria. Add the criteria, value and click Enter. You can add multiple search criteria using the icon. After the results are displayed, click on the existing criteria to edit it.
  7. Decide list view layout: Click the icon to limit the number of triggers listed and to define the sort order.
    • Related Articles

    • Triggers

      Trigger specify conditions under which predefined actions must be performed on incoming requests. These are useful for calling actions after the requests are created, especially for performing actions in other modules or in third-party applications. ...
    • Zapier Integration

      Zapier is a no-code automation platform that connects different apps and services, allowing you to automate repetitive tasks. You can connect ServiceDesk Plus MSP Cloud with various external web applications via Zaps. A Zap is an automated workflow ...
    • Use Cases

      Scenario: Convert Incident to Service Request Currently, only incident requests can be created via email using the default template. However, Zylker wants to create service requests based on specific keywords found in the email, aligning with their ...
    • Custom Actions

      Custom actions refer to user defined actions that can be performed on different entities across modules. For a custom action to be performed on an entity, it should be used with automation rules, subject to the availability of support. The following ...
    • Overview

      ServiceDesk Plus Cloud MSP comes with built-in capabilities that allow users, who have minimal technical expertise, to set up rule-based automations. Administrators can establish a service desk that handles requests on auto-pilot via automations. The ...