Hi. I have a datatype which defines an array and another array inside ther first one. Then i use this data type on a spreadsheet. Inside this spreadsheet i'm calling a decision. The problem is that the first array is iterated but not the second one. Is this a correct behavior?
Hello,
I've re-created a project based on given information, and it's failed to compiled with the error Method 'MiCustomDecision(java.lang.Integer[][])' is not found.
I would recommend to use "flatten" operation which transforms 2d array into 1d.
See example attached
Please let me know will it work for your business case.
Hi. I have a datatype which defines an array and another array inside ther first one. Then i use this data type on a spreadsheet. Inside this spreadsheet i'm calling a decision. The problem is that the first array is iterated but not the second one. Is this a correct behavior?
Example
DataTypes
Decision
SpreadSheet
Spreadsheet SpreadsheetResult SampleSpreadSheet(SampleDataType[] items)
myResultArray | sum(MiCustomDecision(items.innerArray.IntValue))
Should it be iterated the second array? Is there any way to do this?
Hello,
I've re-created a project based on given information, and it's failed to compiled with the error Method 'MiCustomDecision(java.lang.Integer[][])' is not found.
I would recommend to use "flatten" operation which transforms 2d array into 1d.
See example attached
Please let me know will it work for your business case.
Best Regards,
Alena.
Thanks. i will try this