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.