Update Objects process


The Update Objects process updates the object that you specify in the request. You can update multiple objects of the same type by using an adapter request.

Note

To update multiple objects, specify the same type in an adapter request.

The following table describes the input parameters for the Update Objects process.

Process inputs for the Update Objects process

Input

Description

Required

<adapter name>

Specifies the name of the adapter

Valid value: RemedyforceActor (default)

No

<objects>

Specifies the XML that contains the objects to be updated in BMC Remedyforce

You can specify either the <id> or the <name> element in the objects XML. You cannot specify both the elements together.

Yes

The following figure shows a sample XML for the objects input parameter by using the <name> element:

Sample XML for the objects input parameter by using the <name> element

<objects>
     <object>
       <type>BMCServiceDesk__Change_Request__c</type>
       <name>CR00000186</name>
       <BMCServiceDesk__Change_Description__c>Updated Change</BMCServiceDesk__Change_Description__c>
       <BMCServiceDesk__Change_Category__c>Minor</BMCServiceDesk__Change_Category__c>
     </object>
   </objects>

The following figure shows a sample XML for the adapter response output parameter by using the <name> element:

Sample XML for the adapter response output parameter by using the <name> element

<remedyforce-response>
 <metadata>
   <status>success</status>
 </metadata>
 <Envelope xmlns="urn:partner.soap.sforce.com">
   <Body xmlns="">
     <updateResponse>
       <result>
         <success>true</success>
         <name>CR00000186</name>
       </result>
     </updateResponse>
   </Body>
 </Envelope>
</remedyforce-response>

The following figure shows a sample XML for the objects input parameter by using the <id> element:

Sample XML for the objects input parameter by using the <id> element

<objects>
     <object>
       <type>BMCServiceDesk__Change_Request__c</type>
       <id>a1C90000000H8cLEAS</id>
       <BMCServiceDesk__Change_Description__c>Updated Change </BMCServiceDesk__Change_Description__c>
       <BMCServiceDesk__Change_Category__c>Minor</BMCServiceDesk__Change_Category__c>
     </object>
   </objects>

The following figure shows a sample XML for the adapter response output parameter by using the <id> element:

Sample XML for the adapter response output parameter by using the <id> element

<remedyforce-response>
 <metadata>
   <status>success</status>
 </metadata>
 <Envelope xmlns="urn:partner.soap.sforce.com">
   <Body xmlns="">
     <updateResponse>
       <result>
         <id>a1C90000000H8cLEAS</id>
         <success>true</success>
       </result>
     </updateResponse>
   </Body>
 </Envelope>
</remedyforce-response>

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*