UI Step |
---|
Navigate to integrationsLog into Ivanti Service Manager and click the in the upper right-hand corner of the screen to access your settings. Then, on the left-hand side Settings panel, navigate to Integration Tools (under Extend) > Web Service Connections and click to create a new integration. |
UI Step |
---|
Add an integration scriptType Perspectium Create Incident for your Integration Name. In the bottom right-hand corner of the resulting screen, enter the script shown below in the Script window, filling in the INSTANCE_NAME value with the instance name for the app that you will bond with Ivanti (e.g., dev12345 for ServiceNow) and the PERSPECTIUM_MESH_URL, PERSPECTIUM_MESH_USERNAME, and PERSPECTIUM_MESH_PASSWORD values with the URL, username, and password for the Perspectium Integration Mesh that you connect to, provided by Perspectium Support. Then, click Next. NOTE: This setup assumes you will sync data from your Ivanti incident table. To sync other data from Ivanti, contact Perspectium Support for a guided setup.
var request = '{"topic": "siam", "type": "commonivanti_incident", "key": "INSTANCE_NAME", "name": "ivanti.insert", "value": "' + '$(RecId)' + '"}'; var getJsonRequestSettings = function () { return { Headers: { 'Content-Type': 'application/json', 'psp_quser': 'PERSPECTIUM_MESH_USERNAME', 'psp_qpassword': 'PERSPECTIUM_MESH_PASSWORD', 'psp_input_queue': 'psp.in.meshlet.ivanti', 'psp_instance': 'INSTANCE_HERE' }, Cookies: null, SkipServerCertificateValidation: false, UserName: "null", Password: "null", AllowAutoRedirect: false }; }; ExecuteWebRequest("POST", "PERSPECTIUM_MESH_URL/multiinput", request, getJsonRequestSettings()); |
|
UI Step |
---|
Save your integrationOn the Schedule Manager page, click Next. Then, when a popup appears asking if you want to proceed without scheduling, click Yes. Finally, on the Review and Publish page, click to save your integration. |
UI Step |
---|
Create additional integrationsTo sync your Ivanti data when updates are made and comments/attachments are added to your incident table, use Steps #1-3 as a guide to create integrations with the scripts shown below.
Perspectium Update Incident script: var request = '{"topic": "siam", "type": "commonivanti_incident", "key": "INSTANCE_NAME", "name": "ivanti.update", "value": "' + '$(RecId)' + '"}'; var getJsonRequestSettings = function () { return { Headers: { 'Content-Type': 'application/json', 'psp_quser': 'PERSPECTIUM_MESH_USERNAME', 'psp_qpassword': 'PERSPECTIUM_MESH_PASSWORD', 'psp_input_queue': 'psp.in.meshlet.ivanti', 'psp_instance': 'INSTANCE_NAME' }, Cookies: null, SkipServerCertificateValidation: false, UserName: "null", Password: "null", AllowAutoRedirect: false }; }; ExecuteWebRequest("POST", "PERSPECTIUM_MESH_URL/multiinput", request, getJsonRequestSettings()); |
Perspectium Create Attachment script: var request = '{"topic": "siam", "type": "commonivanti_incident", "key": "INSTANCE_NAME", "name": "ivanti.attach", "value": "' + '$(RecId)' + '"}'; var getJsonRequestSettings = function () { return { Headers: { 'Content-Type': 'application/json', 'psp_quser': 'PERSPECTIUM_MESH_USERNAME', 'psp_qpassword': 'PERSPECTIUM_MESH_PASSWORD', 'psp_input_queue': 'psp.in.meshlet.ivanti', 'psp_instance': 'INSTANCE_NAME' }, Cookies: null, SkipServerCertificateValidation: false, UserName: "null", Password: "null", AllowAutoRedirect: false }; }; ExecuteWebRequest("POST", "PERSPECTIUM_MESH_URL/multiinput", request, getJsonRequestSettings()); |
Perspectium Create Comment script: var request = '{"topic": "siam", "type": "commonivanti_incident", "key": "INSTANCE_NAME", "name": "ivanti.comment", "value": "' + '$(RecId)' + '"}'; var getJsonRequestSettings = function () { return { Headers: { 'Content-Type': 'application/json', 'psp_quser': 'PERSPECTIUM_MESH_USERNAME', 'psp_qpassword': 'PERSPECTIUM_MESH_PASSWORD', 'psp_input_queue': 'psp.in.meshlet.ivanti', 'psp_instance': 'INSTANCE_NAME' }, Cookies: null, SkipServerCertificateValidation: false, UserName: "null", Password: "null", AllowAutoRedirect: false }; }; ExecuteWebRequest("POST", "PERSPECTIUM_MESH_URL/multiinput", request, getJsonRequestSettings()); |
|
|