Use case:
Assume a requester is requesting for an gadget asset and it requires approval from their managers. This ticket needs to be moved to "Asset" group only when the ticket gets approved. Depending on the availability of the requested gadget, the requester will be provided with it.
Prerequisites:
2. functions.py : This package consists of all the functions that are used to handle the standard requirements of the customer. Most repeated requirements are written as separate functions. Depending on our usecase, we can include these functions in our script.
3. configuration.json : This file maintains the configuration details of the installed server.
Execution Steps:
1. Extract the ZIP file under ..\ManageEngine\Servicedesk\integration\custom_scripts - folder.
2. Edit the configuration.json and update the values.
3. Configuring a Custom Trigger: Go to Admin > Custom Trigger > give a trigger name > Execute the action - when the request is approved > execute script - py update_group.py $COMPLETE_V3_JSON_FILE