Ensemble - Using an indexed array in DTL - Can't pull information from an Array in the transformation
I want to write the values that are stored in an array into the OBX 5 field. The text in MyArray(1) will go in the the first OBX 5 field. Then the text in MyArray(2) will populate the next OBX 5 field.
My question is how do you format the Set > Action Tab > Value entry so that it pulls the data from MyArray(source.{PIDgrpgrp().ORCgrp().OBXgrp().OBX:SetIDOBX})
I know the array is ok, because when I hard code MyArray(2) in the Set > Action Tab > Value, then the OBX lines contain the correct element in MyArray(2). When I drop source.{PIDgrpgrp().ORCgrp().OBXgrp().OBX:SetIDOBX} into Set > Action Tab > Value, then I see the number steadily increase.
Maybe I'm just missing quotation marks or brackets, but I just don't know how to format MyArray(source.{PIDgrpgrp().ORCgrp().OBXgrp().OBX:SetIDOBX}) so that it doesn't error.
Any tips?