Info |
---|
ServiceNow is a cloud-based software platform for IT Service Management (ITSM) using intelligent workflows. |
...
The following SOAP roles are supported on both sides:
| Can perform all SOAP operations. | ||
| Can insert new records. | ||
| Can delete existing records. | ||
| Can query, insert, and delete records on the qs. | ||
| Can query record information. | ||
| Can query record information and update records. | ||
| Can run scripts that specify a .do endpoint. | ||
| Can update records. |
Prerequisites
Follow these steps before setting up the integration in ServiceNow and Cloudaware.
...
Copy <serverUrl> and <sessionId> with values:
...
...
Click the Lock sign to edit the SOAP endpoint URL. Insert the link copied earlier.
...
Querying and Inserting Data
...
Under Outbound SOAP Messages , find query SOAP Message:
...
Click the Lock sign to edit the Envelope body. Insert Url into SOAP endpoint bar.
[screen]
go to Functions. Select query:
...
Remove the part starting from <urn:MruHeader>
to <urn:SessionHeader>
in the Envelope body message:
...
Code Block |
---|
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:partner.soap.sforce.com">
<soapenv:Header>
<urn:SessionHeader>
<urn:sessionId>00D36000000qrr8!AQoAQAdhcj8z6SfjttTMEkfKxSEzkbrYFU6WTE3vyHREA_YjUIvJUXpWh.aE14Ue2HPOnsVzbzgNJzCT8pZOIlHJ7pYoxo5B</urn:sessionId>
</urn:SessionHeader>
</soapenv:Header>
<soapenv:Body>
<urn:query>
<urn:queryString>SELECT CA10__vmId__c, Name, Subscription_Name__c, CA10__osType__c, CA10__breezeIsActive__c, CA10__powerState__c, CA10__roleSizeName__c FROM CA10__CaAzureVirtualMachine__c WHERE CA10__disappearanceTime__c = null</urn:queryString>
</urn:query>
</soapenv:Body>
</soapenv:Envelope> |
Type Insert the query and click after urn:queryString
to specify data that will be extracted. Click Test.
...
You can use different queries to extract different pieces of data from Cloudaware. Here are some examples:
...
Cloudaware Setup
Anchor | ||||
---|---|---|---|---|
|
1. Log in to your Cloudaware account. Сlick Admin in the main menu under your username.
2. Locate ServiceNow in the list of Issue Management tools. Click +Add.
...
3. Fill out the form and click Save.
...
URL - insert the URL to your ServiceNow instance
4. The green light in 'Status' means that ServiceNow account has been successfully added. If there is red light, please contact support@cloudaware.com.
...
Note |
---|
Cloudaware can also initiate API calls to ServiceNow from inside Cloudaware workflows, triggers and actions. For example, when a change request is made in Cloudaware, we can submit it in real time to ServiceNow using an outbound message within Cloudaware. The outbound message functionality of Cloudaware is described here. |