When using releaseitem from a processor, the flow item gets released by the releaseitem command first and when the process time is completed, the processor re-release the item.
In the set up I used to duplicate this problem, the source will produce 1 item every 100 sec. All 4 processors adds up to a total of 60 sec. The first processor will use releaseitem command roughly 3 sec after it received an item. And right before the flow item reaches processor3, it will be pulled back to the first conveyor belt.
The process time of the processors are as follows:
processor1: 20
processor2: 10
processor3: 20
processor4: 10
How should I utilise releaseitem to prevent such an erratic behaviour without changing the process time? Eventually I want to releaseitem based on machine status.