Re: Looping issue

#17509

Hi Siva –

What you can do to get the lastest CarrierPINNNo is to have a count functoid (purple, advanced)  count the number of CarrierPINNo loop iterations in a DetailCaseGroup and then use index functoid (purple, advanced) to sent that iteration indexed by the count to the scriptoid.

What you are doing now is sending them all and it is picking the first one, because there is nothing to specify that you want the last iteration in the loop. So you're going to get that interation # with count and then use it as input to the index functiod to pull the right value.

– weak architect