- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everyone,
I'm working with a Combiner in Batch mode, and I want it to dynamically adjust the Target Quantity based on how many items are currently in the input queue.
Here’s exactly what I want to achieve:
If there are 20 or more items, it should batch 20.
If there are between 10 and 19 items, it should batch the current amount.
If there are fewer than 10, it should wait (not batch anything).
No label usage, no schedule/time condition — just simple queue count-based logic.
Ideally, I’d like to manage this through the On Entry Trigger.
I’ve tried using setnodenum(node("variables/componentlist/From Input Port 2/Target Quantity", current), 10);, and while it works sometimes, it’s not reliable and causes issues in larger models.
Is there a clean and safe way to dynamically control the Target Quantity at runtime for a Combiner in Batch mode, based purely on input buffer count?
Thanks in advance!
Solved! Go to Solution.