How to send custom email notifications from a request with a configurable XML file.
How to send custom email notifications from a request with a configurable XML file.
This sample python script is used for sending custom notifications from ServiceDesk Plus when a criteria is met.You all know that ServiceDesk Plus has notification rules and customizable templates to notify requesters, technicians, and other stake holders at various stages of the tickets. However, the flexibility to design and trigger a notification based on a combination of values in the request form will always drive contextual advantages in service delivery.
Use Case:
Let's assume that a support group owner intends to notify a list of users through email whenever a ticket with high impact is created in the group. In order to achieve this contextually, using notification rules won't help the IT admin. Instead, a custom trigger with a customized email content can be used to notify the users.
A short guide on setting up python is availablehere.
Execution steps:
1.Copy the script and the configuration file into the custom script folder in the \Manageengine\ServiceDesk\integration directory.
2.As the script uses an SMTP account to send custom notifications from the application, set this upin the XML configuration file called sendemail.xml.
3.Configure thelist of recipients, the sender's identity and the notification content in the configuration file without altering the script.
4.Configure the script under the Admin -> CustomTriggers. Provide the name of the XML file thatcontains the configuration as the first parameter to the script.Let the second parameter be thepath of the Request JSON file.
Following is a screenshot showing a sample configuration:
Take a look at the below video for more information on configuring the XML file.
This is a sample script written in Python to handle Conditional Approvals for Incident \ Service Requests, through Custom Triggers.More information about Conditional Approvals can be found in the link here One of the advantages of using this script ...
Parent KB : https://pitstop.manageengine.com/portal/kb/articles/how-to-automatically-create-multiple-child-requests-from-a-parent-request-with-a-configurable-json-file This is a sample Python script to automatically trigger the creation of multiple ...
This Sample script is used to send a sms notification from ServiceDesk Plus using the Clickatell SMS messaging Gateway.The sms is sent using the Clickatell SMS API and a Authorization Token is used to authenticate with the Gateway, against a Existing ...
Note: Attached script will not work beyond 11138 SDP Version. This is a sample Python script to automatically create multiple tasks within a change request with a configurable JSON file. This is achieved using an API call to create a task in ...
This is a sample Python script to automatically trigger the creation of multiple child requests from a parent request, based on the request template chosen. The request ID of the child requests will be added as a Note in the parent request. This is ...