Release Custom Triggers

Use release custom triggers to automatically set off predefined actions on a release that matches the criteria. You can configure email/SMS notifications, custom functions, or even custom scripts as custom actions. You can also use triggers to execute actions on other modules. Custom triggers are categorized and executed through trigger groups.

Role Required: SDAdmin
 

Create Trigger Group  

To Create a new Trigger Group,

  1. Go to Admin > Automation > Custom Triggers > Release.

  2. Click +Trigger Group.

  3. Provide a Name and Description for the group.

  4. Click Save or Save and Add New.

Create Custom Trigger

To create a new Custom Trigger,

1. Go to the respective trigger group and click Add Trigger.

2. Fill out the displayed form using the following pointers:

Note: Deleted permanently cannot be combined with any other option.
Note: You can change a custom trigger's group by clicking the edit icon next to the trigger group name and by selecting the relevant trigger group from the drop-down. To enable/disable the trigger, use the toggle at the top.

 Triggers List View 

 

From the triggers list view, you perform the following actions

 

 Actions


The following are the actions that can be configured using the triggers.

Notification Action

Notify technicians or any concerned person about the release and its activities via email/SMS. You can create new templates for notifications and save them. These saved templates will be listed under the notification template window.

To create a notification action,

 

 


Custom Scripts

Custom scripts allow users to modify the application's behavior and UI. In a script file, you can program the actions to be performed. Follow the steps described in the document given below to program the required actions effectively.

Writing Custom Script (A sample Python file)

Custom Function

By executing custom functions in release custom triggers, you can manipulate data in ServiceDesk Plus and third-party applications. You can use custom functions to update the release fields or create tickets in other applications. releaseObj and context are the arguments supported in custom functions.

 

If-If Actions  

The If-If action allows you to bundle multiple custom actions and execute them when the specified criteria is met.

You can configure only one If-If action for an automation rule.

To configure If-If Actions,

 

If-Else Actions  

You can use the If-Else action to configure actions when the criteria is met and when it is not met.

You can configure only one If-Else action for an automation rule.