Hello !
I would like my queue to check a label in the next machine and release items only if this label is equal to 1.
I tried with holditem and release item but the logic behind those function is not clear to me and I could not find further explanation than the one in the manual.
In the OnExit trigger I tried:
if (nextMachine.condition == 1){ holditem(item); } else { releaseitem(item); }
But it does not work. From what I read, holditem() should be called only when the item has been released. And releaseitem() only when holditem has been called before. But I do not know how to know that the item in the OnExit trigger has been held with holditem or is another item, as I do not know where the items go once the are held.
Could anyone explain to me how the two functions work in order for me to apply them in my use case ?
EDIT
Please find a sample model attached. I would like the processor to process maximum 5 items simulateously without changing the max content property.