Script to set Request Technician as the Task Owner for all associated tasks.

Script to set Request Technician as the Task Owner for all associated tasks.

Use case:
Request owner should be set as the task owner for all available tasks (or only open) from the request menu option (or trigger)

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.  This Script can be configured as a custom trigger, which would get invoked right-away when a condition is met or you can configure the same script as a request custom menu, which would get invoked only when you invoke the menu manually from the Request Details Page. This is something that needs to be set depending on your requirement.
4.  For Custom Triggers:  Go to Admin > Custom Trigger > give a trigger name > execute script > py set_task_owner.py $COMPLETE_V3_JSON_FILE and set the criteria as "status=Resolved"
5.  For Request Custom Menu: Go to Admin > Request Custom Menu > give a menu name > Action Type : execute script > py set_task_owner.py $COMPLETE_V3_JSON_FILE. Invoke this script from Request Details page > Actions > Menu Name.


Custom Trigger:




Request Custom Menu:



                  New to ADSelfService Plus?