Let's Reconnect, thank you for making 2022 our best year yet.

Look Back
Increment variable inside loop — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Increment variable inside loop

Accepted answer
edited Dec 13, 2020 8:59AM in Integration 3 comments



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>



Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!