Requirement: There are scenarios where two or more ServiceDesk plus portals are used in an organisation for different departments and requests created in one portal must be duplicated in another. This script will help fulfill this requirement.
Use Case:
Consider a new employee onboarding process. This involves HR department, facilities department and also IT department. So when a parent request is created in HR portal subsequent requests in other portals have to be created and the respective information has to be updated in the parent ticket.
Steps involved:
1. We are using 3 scripts to suffice this requirement.
2. Firstly, FAFR script this has to be configured on Form Submit to capture all the resource information into Description so as to make it easier for us to forward the information to other portals.
3. Secondly, Request Custom Function Scripts. This is used to create request in other portals. Update the integration key for each portal within the script.
Also, update the portal id, additional field names to hold the parent ticket id in the child tickets being created.
4. Thirdly, We need to add these child request informations onto the parent request. This is handled as two parts.
- Once the child request is created in the other portals, the same will be updated in the parent ticket via request custom functions. This includes the Ticket ID and Ticket URL.