Skip to Content
0
Former Member
May 10, 2013 at 01:09 AM

Sequential Looping in NW BPM

267 Views

Hi Experts,

I have a requirement to do sequential looping to spilt line items from the list, which is failing

I did the following to establish the scenario,

  • Send Async request from PI to NW BPM ( List that have multiple lines)
  • Output mapping for Start--> map the request and Instantiate Index variable to 0 and Linecount

Send the request to Uncontrolled merge Gateway and then to Exclusive choice gateway ( to check on Index with Linecount If Index > Linecount End process)

  • I have used Embedded process to retrieve the current lineitem from the list using get generic function where I was the passing the individual Lineitem values and Index for Mapping.

get(Transaction/lineItem/element1, Index)

When I tried to debug the process it fails at the retrieve current line item step in Embedded process saying

String Index out of range:40

Appreciate your responses with above issue

Thanks,

Hussein

Attachments

NW BPM.jpg (61.7 kB)