Batch Query Update Items operation


The Batch Query Update Items operation updates fields in the BMC Remedy Action Request (AR) System datastore with a new value for each item in the XML document.

The following table describes the input elements for the Batch Query Update Items operation:

 Input elements for the Batch Query Update Items operation

The following figure shows an XML sample of the input elements for the Batch Query Update Items operation:

<items> XML for the input elements for the Batch Query Update Items operation


<items>
     <item>
       <field-id>xxx</field-id>
       <schema>Alert Events</schema>
       <id>Batch process test-1</id>
       <fields>
         <field name="Source"></field>
         <field name="Request" space="preserve"></field>
       </fields>
     </item>
     <item>
       <schema>Alert Events</schema>
       <field-id>Alert Text</field-id>
       <id>Batch process test-2</id>
       <fields>
         <field name="Source"></field>
         <field name="Request" space="preserve"></field>
       </fields>
     </item>
</items>

The following table describes the output element for the Batch Query Update Items operation:

Output element for the Batch Query Update Items operation

Output

Description

<adapter response>

Specifies the XML document returned by the adapter request executed on BMC Remedy AR System

The following figure illustrates an XML sample of the output elements for the Batch Update Items operation:

XML sample for output element for the Batch Update Items operation


<query-update-action-result>
 <entries>
   <entry>
     <query>'xxx'="Batch process test-1"</query>
     <entry-count>yy</entry-count>
   </entry>
   <entry>
     <query>'Alert Text'="Batch process test-2"</query>
     <entry-count>yy</entry-count>
   </entry>
 </entries>
</query-update-action-result>

 

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

TrueSight Orchestration Content 20.19.02