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


‚Äč
        New to ADManager Plus?

          New to ADSelfService Plus?

            • Related Articles

            • Python Troubleshooting steps

              Here we are listing the troubleshooting steps for the python script to be executed 1. Check whether python is installed or not in the sever where SDP is installed 2. If it's installed check the version of python ( Preferable version should be above ...
            • 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 ...
            • Create New request using Python Script

              Script to raise a new request using Python Script. Pre-requisite - Python should be installed in the server and configured. You can review the instructions here - Requests module should be installed with the python Steps 1. Download the zip file from ...