You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

forEach not working in ICS while counting BI XML Output.

Accepted answer
16
Views
4
Comments
edited Feb 14, 2021 4:57AM in Integration 4 comments

Summary

I am calling a BI Report from ICS and its returning a simple XML, However when I am trying to count the repeating node within the Output XML its unable to count.

Content

The BI Report which I am calling from ICS is returning below response .

  <DATA_DS xmlns="">
    <G_1>
      <INVOICE_ID>1234359</INVOICE_ID>
      <INVOICE_NUM>12342405</INVOICE_NUM>
      <VENDOR_NAME>B1, LLC</VENDOR_NAME>
      <BU_NAME>BS BU</BU_NAME>
    </G_1>
    <G_1>
      <INVOICE_ID>1234561</INVOICE_ID>
      <INVOICE_NUM>12340A</INVOICE_NUM>
      <VENDOR_NAME>B2, LLC</VENDOR_NAME>
      <BU_NAME>BS BU</BU_NAME>
    </G_1>
    <G_1>
      <INVOICE_ID>1234562356736</INVOICE_ID>

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!