Deluge script to send Approvals based on the department of the requester raising the ticket.

Deluge script to send Approvals based on the department of the requester raising the ticket.

The following script can be used to send approvals based on the department of the requester raising the ticket.
The following script will work from builds 10605 in Service requests, due to a known issue which was fixed in 10605 SDPMSP-18560

1: Download the attachment.

2:  Go to Admin --> Request Custom Functions --> Custom Actions --> Paste the content from the attachment (1. add_approvals.txt ).

3:  Modify the Department names and  approver email in the script.

Screenshot for your reference:



Once the values are configured in the script please save it and when a requester from the following requester raises a ticket the approval will be triggered to the email configured under it.

4: We need to configure the following custom trigger from Admin>>Custom trigger>>New

Screenshot for your reference:



You can add the templates for which you need this script to be working and send approval should be entered here.

The script will trigger multiple stages of approval in service request alone and first stage of approval in Incident request.

                  New to ADSelfService Plus?