Delete Entry operation

The Delete Entry operation performs a query on a BMC Remedy Action Request (AR) System schema, and then deletes the rows contained in the result set of the query. This action is typically reserved for non-trouble ticketing-related schema that are related to asset management or similar functions.

The following table describes the input elements for the Delete Entry operation:

Input elements for the Delete Entry operation

Element

Description

Required

<adapter name>

Specifies the name of the adapter to use for this operation

Default Value: ARSadapter

No

<schema name>

Specifies the schema from which the entry should be deleted

Yes

<entry id>

Identifies the entry to be deleted

Yes

Action name

Before running the operation, ensure that you specify the value of the Action field in the Call Adapter Activity to delete.



The following figure shows the XML sample of the input elements for the Delete Entry operation:

XML sample of the input elements for the Delete Entry operation

<remedy-action>
  <schema>Sample:Cities</schema>
  <query>'1'="000000000000009"</query>
</remedy-action>

The following table describes the output elements for the Delete Entry operation:

Adapter response elements for the Delete Entry operation

Element

Description

<entries>

Contains the entry fields returned by the action

<metadata>

Contains the metadata from the request

<entry-count>

Specifies the number of entries deleted



The following figure illustrates an XML sample of the output elements for the Delete Entry operation:

XML sample of the output elements for the Delete Entry operation

<delete-action-result>
  <entries>
    <metadata>
      <entry-count>1</entry-count>
    </metadata>
  </entries>
</delete-action-result>
Was this page helpful? Yes No Submitting... Thank you

Comments