The document tracker doesn’t support the option to fill in values in multi-dimensional fields.
To do this I’m trying to build a “dummy-integration”.
This dummy integration consists of only 3 steps:
- A trigger
- custom code
- publish document which is the trigger of my “real” integration
The custom code consists of a for loop which assigns values to my output defined in the custom step Outputs tab. The custom code looks like this:
customStepMethod$out out = new customStepMethod$out();
for (int i = 0; i < 9; i++) {
out.FlowData[i].MSISDN = “477893456”;}
return out;
The purpose is then to map the output of the custom step with the field in my document I publish in step 3. I would expect to have a 10-dimensional structure with the number 477893456 in each of its MSISDN fields.
Sadly enough, the custom code is not executed at all. The error message I receive is:
(109) Run-time exception while processing “MNPCGASMSAdapterComponent”
java.lang.ArrayIndexOutOfBoundsException
Is there anyone who has a clue on this? Or maybe knows a simpler way of achieving this goal.