João Dessain Saraiva Posted August 13, 2021 Share Posted August 13, 2021 Hey team, I have this BW 6 process where I am looping a Java Object, it's a set of messages from a RabbitMQ server. However I am not finding a solution to keep track of the loops inside the Group, I already tried: - Shared variables - Session variables - Different loop types However the index staysstatic... I believe there should be a straight solution to fix this issue, can you help me out Best regards, Link to comment Share on other sites More sharing options...
Ajinkya Gutti Posted August 30, 2021 Share Posted August 30, 2021 Hello, If you use group types like "while", "for-each", "repeat" - these will have a variable called index in its configurations. The index will +1 by default at every executuion. You can mention the looping condition with respect to this index variable. For Ex. While Index < COUNT_OF_RECORDS Additionally, this index variable will now be avalable to you to reference when configuring other downstream activities or acitivities within the loop. Refer the attached image. Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now