Increment variable inside loop
Assume, in my source we have 5 records. Our target system expect the input request like below.
Our Expectation is we need to increment the sequence (seq) value inside the loop based on the record count. How to achieve this? If we create the record one by one then we can use expression and increment the variables, but we have to call this in single payload.
"Record":<Record 1 Values>
"Record":<Record 2 Values>
"Record":<Record 5 Values>