1: Download the attached script and extract it.
2:
Go to Admin > Request Custom Functions > Global function > New > Paste the content from the attachment 1.configuration.txt and save it with a name.
2. Update the URL and technician key in the script. You can get the technician key under profile in the top right corner. Refer to the attached screenshot.
Refer to the below link.
3. Go to Admin --> Request Custom Functions --> Custom Actions --> Paste the content from the attachment (3. Close request.txt) and save it with a name.
4. Modify the global function name of the Global function created in Step 1 and the Status in the script. Refer to the attached screenshot.
5. Configure the Custom Trigger as in the attached screenshot.
Based on the above configurations every time a request is edited and when the business rule criteria is matched a resolution will be added to the ticket and status will be updated as per the status given in the script.