MNI parameters

I'm trying to use MNI to start a process for each element in a list of MyCDT, using "Run one instance for each item in <the list>".  When specifying the input parameters to the child process, how do I retrieve the index of the item in the list, so I can pass that single element of the list as a parameter (vs the whole list)?  I didn't see any process variable that I could use, is there some function I should use to retrieve the current MNI loop index?

  Discussion posts and replies are publicly visible

Parents Reply
  • Stewart, Not always.  Just today I am running into this issue where any time I do a concatenation of a field's value on a record instance from the CDT array, for some reason it uses the entire array!

    "Record No. " & pv!cdtarray.record_no stores "Record No. 1, 2" into the output variable assuming the array has just 2 records.  When I removed  the concatenation, it displayed correctly Record No.1 and Record No.2 in the output.  I thought this was bizarre!

    And that's exactly why I am here now looking for an alternative.  Going to try using instance index.  

    We are on 18.2.

Children
No Data