I have an assembler that acts as synchronization point in my network. It receives two different objects and in the "OnEnterDelay" event of this block I would like that the building of the output object starting only if I have a particular value inside the input objects.
I managed the check but I don't know how to discard the input if this condition is not matched and I tried to only remove agents from the input queues but it seems to not working
SupplierInfo supplierInfo = (SupplierInfo)self.queueGet(2, 0);
if (!supplierInfo.getStatus())
{
self.queue1.removeFirst();
self.queue2.removeFirst();
}