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.
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 | No |
<objects> | Specifies the XML that contains the objects to be updated in BMC Remedyforce | 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
<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
<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
<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
<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>