Execution steps:
1. Copy the script file into the \Manageengine\ServiceDesk\integration directory.
2. Update the script with the name of the role along with the name and email address of the users. Make sure you follow the syntax provided in the comments section to make necessary changes.
3.Configure the script under the Admin -> Change Custom Triggers. Provide the path of the request json file as the input to the script.
Below is a screenshot showing a sample configuration.
Note:
1. This script was tested on python v3.4.1 - 32 bit and v3.5.1 - 32 bit.
2. This script will work only in ServiceDesk Plus version 9113 and above.
To make the best use of this, take a look at the comments in the script and the related post in our resources section.
Trust you find this post useful. In case you've missed the previous posts, visit here. Read through and send your feedback to us as comments on the respective posts. See you next Wednesday with another useful script.