Hi!
I would like to create a custom code for my model to do the following:
- An operator will arrive to Queue1 and will have a delay time of 5 seconds.
- Once the delay time is over, 3 operators will arrive to Queue1.
- The 4 operators (at the same time) will load an item and onload it in Queue 2 (it doesnt matter if only one operator actually loads the item and the other ones just follow him).
I have created 2 separate custom codes that kind of do what I want my model to do separately. The first one is located in Queue 1, I tried to apply the code of the Coordinated Task Sequence Example 2 for 4 operator instead of 2 but couldn't do it correctly. The second code is located in Queue3 and works the way I want for it to work.
I would like to correct the logic of Queue 1 and see a way of combining these two tasks into one code.
Thankyou in advance for your help!
**I know this can be easly done with Process Flow, but I want to try with code.