Delete Objects process

The Delete Objects process deletes one or more objects such as change, incident, and task from the BMC Remedyforce application.

Note

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


The following table describes the input parameters for the Delete Objects process:

Process inputs for the Delete 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 deleted in the BMC Remedyforce application

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 <id> element:

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

<objects>
      <type>BMCServiceDesk__Change_Request__c</type>
      <object>
        <id>a1C90000000H8DrEAK</id>
      </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="">
      <deleteResponse>
        <result>
          <id>a1C90000000H8DrEAK</id>
          <success>true</success>
        </result>
      </deleteResponse>
    </Body>
  </Envelope>
</remedyforce-response>


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>
      <type>BMCServiceDesk__Change_Request__c</type>
      <object>
        <name>CR00000186</name>
      </object>
    </objects>


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

<remedyforce-response>
  <metadata>
    <status>success</status>
  </metadata>
  <Envelope xmlns="urn:partner.soap.sforce.com">
    <Body xmlns="">
      <deleteResponse>
        <result>
          <success>true</success>
          <name>CR00000186</name>
        </result>
      </deleteResponse>
    </Body>
  </Envelope>
</remedyforce-response>
Was this page helpful? Yes No Submitting... Thank you

Comments