Requirement:
Update the request status depending on the technician assignment.
Refer to the below link for a similar use-case handled using Python:
Usecase:
Update the request status to "Assigned" when a technician picks up the request.
Steps to configure:
1. Download the attached scripts. Copy the contents into Request custom functions.
2. Goto Admin > Request Custom Function > Global Function > New > Paste the global function contents and save it with a name.(Update the SDP configurations details in the global function)
3. Goto Admin > Request Custom Function > Custom Function > New > Paste the update_status_api.txt content and save it with a name
4. Configure the created custom function in a custom trigger to get executed when a technician is assigned to a request.
(eg: Condition >> Technician is not "Not Assigned")