How to update a request based on certain field values.

How to update a request based on certain field values.

This post describes the use of a python script to update requests based on values in other fields ,in the same request.This action can be performed using  Custom Triggers.

UseCase: There are three Levels setup in the application and there are 2 Technicians who belong to each of these levels.Now, based on the Technician selected in the Request, the Level has to be updated.

Execution steps:
1. Download and copy the script file into the \Manageengine\ServiceDesk\integration\customscripts directory.
2. Update the application url , the technician api key in the configuration.json.
3. Configure the script under the  Admin  ->  Request Custom Triggers,like shown below.


A short guide on setting up python is available here.