Create request from one Servicedesk Plus instance to another - Deluge

Create request from one Servicedesk Plus instance to another - Deluge

Use Case: There are scenarios where two ServiceDesk plus instances are used in an organization for different departments and requests created in one instance must be duplicated in another. This script will help fulfill this requirement.

We provide the Request Details in Json Format as input to the script and that is processed to create the structure of the New Request in the parallel ServiceDesk Plus instance.
This is achieved using the API call for creating a new Request. 


Execution steps:
1. Download and copy the script file into the Admin > Request Custom Functions.
2. Update the URL used to access ServiceDesk and the technician api key in the Global_functions for both source and target.

Refer Sample as below:


3.  Goto Admin > Developer Space > Global function >  New - Paste the content of "global_function_36 - PortalIDList.txt"


4. Goto Admin > Developer Space> Global function >  New -  "global_function_37 - AddAttachment - Latest.txt"



5.  Goto Admin > Developer Space >  Request Custom Function >  New -  "custom_function.txt"

6. Configure the script under the  Admin > Custom Trigger.  Invoking condition can be customized as per your requirement.


                New to ADManager Plus?

                  New to ADSelfService Plus?

                    • Related Articles

                    • How to forward a request from one Servicedesk Plus instance to another.

                      This is a Sample Python Script which can be used to get Data from a Existing Request in a ServiceDesk Plus instance and create a New Request in a parallel ServiceDesk Plus installation.  This script can be configured under Request Custom Menu if the ...
                    • Update Resolution from one SDP instance to another - Deluge

                      Use Case: There are scenarios where two ServiceDesk plus instances are used in an organization for different departments and requests created in one instance is duplicated in another.  Similarily when a resolution is updated in one the same has to be ...
                    • Create multiple Child Requests - Deluge Script

                      This is a sample deluge 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 ...
                    • How to implement dynamic request approval using FAFR and custom triggers - Deluge

                      This is a sample script written in Deluge to handle Conditional Approvals for Incident \ Service Requests, through Custom Triggers using Field and Form Rules.  One of the advantages of using this script that no modification in the script is required ...
                    • Auto-create problem request based on certain criteria.

                      This is a sample script that triggers the creation of a Problem Request in ServiceDesk Plus using the Problem API.  Use Case:  ​ All incident requests with Priority = High will create a problem ticket with the request's default field values. ...