Forum Discussion
nganapathiraju
9 years agoFormer Employee
Look at this solution.
You can split the array and add snap.in.totalCount-1 as an index.
After splitting you need to reform the array and add the fields back together.
snap.in.totalCount-1 ==> $index in the mapper after JSON split
array index_2017_08_07.slp (8.8 KB)