question

Suraj J avatar image
0 Likes"
Suraj J asked Jordan Johnson answered

How to batch only by non matching 'group'?

In my model there are 2 activities feeding to a batch activity. I want to batch tokens only when they are from different activities as the rate at which the feeding activities may generate tokens differ. Is there a way other than lists or synchronize? Using list and sync. will pose a problem as there are many such batching operations being done.

process flowbatch
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Jordan Johnson avatar image
1 Like"
Jordan Johnson answered

Perhaps the Join would be better than the Synchronize, as it will only release a single token. If you need to preserve labels from both tokens, use a Synchronize where both output connectors go into a Batch. The Batch won't need to group by anything; it can just batch tokens released by the Synchronize.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.