cancel
Showing results for 
Search instead for 
Did you mean: 

About condition for loop in BPM

Former Member
0 Kudos

I design a loop, condition is counter<>3.

It seems only receives 3 messages when I send more than 3.

for example, I send 105 messages, for every 10 messages it will generate a file. and I totally have 11 files.

What is the best way to end the loop?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hey,

you need to have two loops in this.

Have your send step(for the file) in the inner loop.

The condition for this loop will be te number of messages that you need per file.

The outer loop should terminate when all the messages are recieved.(recieve step will be in the outer loop)

This is not possible with the no. of messages

You can do one thing, provide a stop message as an input along with the other messages.

And set the condition for the outer loop for the stop message.

This will terminate the outer loop.

regards,

Milan