question

komalkoli avatar image
0 Likes"
komalkoli asked Logan Gold commented

Operator Task Sequence: Wait Until 1st Task is done

Here is the process flow for an operator:

Task 1: Operator waits until 100 items arrive at Queue1 and move these items

Task 2: After finishing 1st task, same operator move 50 items from Queue2

50 items arrive at Queue2 well before 100 items arrive at Queue1. So, operator is moving to Task 2 as soon as 50 items arrive at Queue2 & then completing Task 1. I would like him to finish Task 1 first and then complete task 2.

I tried Preempt option, priority option, and task sequencing option but it did not work. What is best way to sequencing the task 1 and then task 2?

FlexSim 24.1.0
operatortask sequencepriority
· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Felix Möhlmann avatar image Felix Möhlmann commented ·
How do you control the operator so far? In a Process Flow it should be easy to set up two sequential task sequences for this.
0 Likes 0 ·
komalkoli avatar image komalkoli Felix Möhlmann commented ·
I am using process flow. With the triggered source, I have two different task sequences. One for Task1 and another for Task2.

Can you give example how would you do two task sequences?

0 Likes 0 ·
Logan Gold avatar image Logan Gold ♦♦ commented ·

Hi @komalkoli, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Felix Möhlmann edited

If the tasks have to happen in a fixed sequence then build them as a single sequence. You can use lists to check for the needed quantity of items, so they can still accumulate independently without having to immediately start the transport when the threshold is reached.

transport-sequence.fsm


· 4
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

komalkoli avatar image komalkoli commented ·
Thanks for your quick response!

In your example, you have used same source for Queue 1 & Queue 2. For my case, I have two different sources respectively for Task 1 & Task 2.

Can you send same example with two different sources and use of operator?

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann komalkoli commented ·

I don't see how the number of queues would have an impact on the logical structure. And using an operator just means to replace the Move activity with a task sequence to transport the items.

transport-sequence_1.fsm

0 Likes 0 ·
komalkoli avatar image komalkoli Felix Möhlmann commented ·

Thank you for your response!

Please see attached picture how my process works. I have two different sources for two tasks. I want operator to pick items from Queue1 first and then from Queue2, no matter if all items at Queue2 arrive first. queue-priority.png I don't know how I can use "Lists" with two different sources?

0 Likes 0 ·
queue-priority.png (40.7 KiB)
Show more comments