SDP OnDemand Integration - Duplicate Request in multiple OnDemand instances
Requirement:
Move Requests from SDP OP to SDP OD.
Steps to configure:
- Download and move the attachment content to <SDP_Home>\integration\custom_scripts
- In Configuration.json:
- Update the URL and integration key in the script.
- You can get the integration key under Admin > Integrations > Integration Key > New
- Please use an integration key with admin privilege, as there wont be any role related permission issues.
- In configuration_SDPOD.json:
- Update client_id, client_secret, access_token, refresh_token in the json
- Follow: https://www.manageengine.com/products/service-desk/sdpod-v3-api/SDPOD-V3-API.html#register-your-application
- In ChildJsonOD.json:
This file has the name of the OnPrem request template of the request and the list of child requests to be created. The script matches the template's name received from the parent request against the name in the JSON file and creates child requests in OD accordingly.
Depending on the OD instance, we can configure multiple ChildJsons.
In my assumption, I have used two OD instance; ChildJsonOD1.json, ChildJsonOD2.json
In OP_ODIntegration:
Update the portal id and url of the OD instances.
Modify the below as per your instance.
Depending on the ChildJson file that is passed, respective portalid and url will be used to create request in OD.
This can be configured as a custom trigger or custom menu as per our convenience.
Request Custom Menu:
For OD Instance1:
For OD Instance2:
Invoking command:
For OD instance1: py OP_ODIntegration.py $COMPLETE_V3_JSON_FILE ChildJsonOD1.json
For OD instance2: py OP_ODIntegration.py $COMPLETE_V3_JSON_FILE ChildJsonOD2.json
New to ADSelfService Plus?
Related Articles
How to automatically create multiple child requests from a parent request with a configurable JSON file (V3)
This is a sample Python script to automatically trigger the creation of multiple child requests from a parent request, based on the request template chosen. The request ID of the child requests will be added as a Note in the parent request. This is ...
SDP MSP Integration
Requirement: Move Requests from SDP OP to SDP MSP. Create Tasks from SDP OP to SDP MSP, for Request module. Update SDP Request when MSP request is updated. Steps to configure - Duplicate SDP Ticket in MSP: Update configuration informations in SDP ...
How to automatically create multiple child requests from a parent request with a configurable JSON file (V3)
Parent KB : https://pitstop.manageengine.com/portal/kb/articles/how-to-automatically-create-multiple-child-requests-from-a-parent-request-with-a-configurable-json-file This is a sample Python script to automatically trigger the creation of multiple ...
Azure DevOps Integration
Feature: Azure DevOps Integration <--> ServiceDeskPlus (Plugin Model) --> Create a new work-item in Azure DevOps when a request is created in SDP --> Update SDP request status when a Azure DevOps work-item status is updated --> Updating Comments ...
Slack Integration
This is a sample python script that is used to post request details from ServiceDesk Plus into Slack.Slack is a cloud-based team collaboration tool that allows team members to communicate without the use of emails or group SMS. Use Case: Lets assume ...