Python script to automate FCR

Python script to automate FCR

Please find the attached Python script on this link  to automate FCR via custom trigger when the request is created and resolved by the same technician.
The link contains two Python scripts with the name FCR.py (this script can be used when MSP is installed on a directory that doesn't have space)and FCR (1).py (this script to be used if the MSP directory has a space like Program Files\ManageEngine\ServiceDeskPlus.)

The respective script should be renamed as FCR.py and be placed under Program Files\ManageEngine\ServiceDeskPlus-msp\integration\custom_scripts.

The URL of the MSP server and API key has to be updated in FCR.py file



Please do create a Custom Trigger for the same, based on the requirement with execute script as py FCR.py $COMPLETE_V3_JSON_FILE


‚Äč
          • Related Articles

          • Python script to update request status

            This article consists of a python script to update the request status based on a criteria set in Custom trigger. For installation and setup of PYTHON, please refer the below link, ...
          • Cannot run program "python" or Can't find a default python

            Use case While trying to run a python script, this error can be found. It usually occurs when the python is not installed/set up properly. Solution Try specifying the complete path of the python.exe instead of py and then in the argument specify the ...
          • Request add attachment_Python script-API

            Steps for adding attachment to the request through python script-API. Extract the attached  "Attachment_Python_Script.zip" >> Edit attachmentscript.py >>Mention product installed url in the base url ; update the api key; update the request id that ...
          • How to setup Python on the Server

            This article explains how to set up the ServiceDesk plus server to run python scripts. 1. The first step is to install python on the application server and you can download it from here. Any version above 3.4.1 should work fine. Start the setup and ...
          • Script to find the actual SLA of an Incident

            Use case When an incident is logged, the timer for the SLA is started. However, the actual incident might have occurred hours before the incident creation. In order to find the actual time of SLA,  we can use a python script.  Pre-requisite  Python ...