Update Change Using Import Set operation
The Update Change Using Import Set operation updates a change using import set in ServiceNow application.
The following table describes the elements for this request. If not specified, the valid value for an element must be assumed to be a string.
Adapter request elements for the Update Change Using Import Set operation
The following figure displays the sample adapter request for this operation:
Sample adapter request for the Update Change Using Import Set operation
<service-now-request>
<operation-name>update-change</operation-name>
<proxy-settings>
<host>10.129.94.127</host>
<port>8080</port>
<user-name>tso</user-name>
<password>****MASKED****</password>
</proxy-settings>
<arguments>
<connection-parameters>
<user-name>admin</user-name>
<password>****MASKED****</password>
</connection-parameters>
<query>
<number>CHG0030004</number>
<assigned-to>Beth Anglin</assigned-to>
<cmdb-ci>*JEMPLOYEE-IBM</cmdb-ci>
<requested-by>ITIL User</requested-by>
<short-description>short desc</short-description>
<approval>Not Yet Requested</approval>
<category>Other</category>
<type>normal</type>
<state>-5</state>
<risk>Moderate</risk>
<description>desc</description>
<work-notes>my notes</work-notes>
</query>
<update>
<u_change_comment>inserted by import set</u_change_comment>
<u_change_uid>CHR_ISR002</u_change_uid>
</update>
</arguments>
</service-now-request>
<operation-name>update-change</operation-name>
<proxy-settings>
<host>10.129.94.127</host>
<port>8080</port>
<user-name>tso</user-name>
<password>****MASKED****</password>
</proxy-settings>
<arguments>
<connection-parameters>
<user-name>admin</user-name>
<password>****MASKED****</password>
</connection-parameters>
<query>
<number>CHG0030004</number>
<assigned-to>Beth Anglin</assigned-to>
<cmdb-ci>*JEMPLOYEE-IBM</cmdb-ci>
<requested-by>ITIL User</requested-by>
<short-description>short desc</short-description>
<approval>Not Yet Requested</approval>
<category>Other</category>
<type>normal</type>
<state>-5</state>
<risk>Moderate</risk>
<description>desc</description>
<work-notes>my notes</work-notes>
</query>
<update>
<u_change_comment>inserted by import set</u_change_comment>
<u_change_uid>CHR_ISR002</u_change_uid>
</update>
</arguments>
</service-now-request>
The following figure shows the adapter response for the sample request:
Sample adapter response for the Update Change Using Import Set operation
<service-now-response>
<metadata>
<response-count>1</response-count>
<status>success</status>
</metadata>
<responses>
<response>
<metadata>
<count>1</count>
</metadata>
<item>
<metadata>
<status>success</status>
</metadata>
<parameters>
<sys-id>a65ef0c14a362305003bbc68b3a71831</sys-id>
<table>change_request</table>
<display-name>number</display-name>
<display-value>CHG0030654</display-value>
<status>updated</status>
</parameters>
</item>
</response>
</responses>
</service-now-response>
<metadata>
<response-count>1</response-count>
<status>success</status>
</metadata>
<responses>
<response>
<metadata>
<count>1</count>
</metadata>
<item>
<metadata>
<status>success</status>
</metadata>
<parameters>
<sys-id>a65ef0c14a362305003bbc68b3a71831</sys-id>
<table>change_request</table>
<display-name>number</display-name>
<display-value>CHG0030654</display-value>
<status>updated</status>
</parameters>
</item>
</response>
</responses>
</service-now-response>
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*