I have two queues (queue2A and queue2B) downstream of another queue. I want to trigger a task executer to load items from the upstream queue and unload them at one of the two downstream queues when their respective level falls below a certain quantity.
I tried to use a Wait for Event activity to listen to the content of the two queues (the queue's OnContentChange Event and Change Rule "Decrease To Or Through Value"). I then assigned the firing-event object to token.queueRequiringItems via Assign Event Object To. After some other activities, I tried to use a Decide activity to choose which queue to unload at, using Conditional Decide expression, token.queueRequiringItems == "queue2A", 1 for true and 2 for false. I connected an Unload associated with queue2A and queue2B to port 1 and 2, respectively.
I am getting an exception in the System Console saying that "label queueRequiringItems doesn't exist on token id: 1".
The task executer then moves onto the next activity on port 1.
Any suggestion?