I have a BPM which collects Invoice idocs where the wait time is 10 mins.
We would be expecting heavy loads of idocs within the span of 10 mins like we are talking abt 10k.
We tried reducing the time to 2 mins and yet the memory overflow was there since we were receiving 3-4k within 2 mins.
Hence we thought that the only solution is to restrict the number of idocs to 750 and should trigger new process.
The problem is that how do i specify this in the loop as i have both wait time and condition that needs to be specified in the fork.
Let me know if you have any other good ideas.
As of now my current design is
we have a fork with 2 branches one with wait step 3 mins and another with loop process.