Update status using Python script in 11.0

Update status using Python script in 11.0

Using a Python script via custom trigger, we can update the status invoking an API call.

Find the attached update_req_status.py and configuration.json file

1. Move both the files to <SCP Home>/integration/custom_Scripts folder.

2. Edit the update_req_status.py and set the status that needs to be set when the trigger is executed.

3. Edit the configuration.json file and provide the necessary details including the API Key.

4. Create a Custom Trigger depending on your requirement like below:

5. Based on the criteria, the trigger invokes the script and the status is set.

Note: This works only for 11.0 as use V3 API.
          • Related Articles

          • 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 satisfy first response SLA in SCP 11

            As of now only for the following scenarios, First response can be marked in the SupportCenter application: * Notes addition * Worklog addition * Technicians manual response Apart from this if you want to mark any other actions in the application as ...
          • Steps for Custom Scripts to show only view of Account's Requests for primary contact.

            1.Create a folder under this location : ManageEngine\SupportCenter\custom with the name scripts and then add the custom scripts to be executed.  Example of a custom scripts : primary contact only needs view of account's requests and not the default ...
          • Exporting and importing requests in SCP using xls format

            Step 1 : Generate a report as xls file * Go to Reports module and choose New Custom report, select Requests module and proceed to the report wizard. * Select the required fields (columns) and run the report. You might choose the Request ID as well, ...
          • How to Export SSL certificate using MMC?

            When an SSL certificate is already installed on a Windows server, you may want to reinstall it on SupportCenter Plus server. This may be required when you have a Wildcard or a Multi-domain certificate, and the subdomains or different domains are ...