omer0 avatar image
1 Like"
omer0 asked Carter Walch edited

Task Sequence with multiple starting locations

I now can fill up both processors with flow items(for some reason M2A fills twice) now how do I fill M2A up and take the finished flow item in M2B and run it through the line and then continue with process of replacing the flow item that of which ever flow item is done on either M2A or M2B with a flow item from M1 and taking the finished item from M2A or B and continuing down the line? If that sounds confusing let me know I can try to rephrasegenral-model-processflowacky(current).fsm

FlexSim 23.1.2
· 2
5 |100000

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

Carter Walch avatar image Carter Walch ♦ commented ·
Hi @omer0 , before I answer your question, I just want to clarify...

You are wanting to take whichever flow item finishes first (M2A or M2B) and run it down the line, then replace that processor with a new flow item from M1, and then take the other flow item from the processor (M2A or M2B, whichever finished second) and run that one down the line.

Is that correct?

1 Like 1 ·
omer0 avatar image omer0 Carter Walch ♦ commented ·
Yes exactly!!!
1 Like 1 ·

1 Answer

Carter Walch avatar image
1 Like"
Carter Walch answered Carter Walch commented

Hi @omer0 ,


To accomplish this task, we just need to modify the task sequence in process flow. Task sequences allow us to create logic for a task executer so that it won't move to another task until it finishes all the tasks in the task sequence. We recommend reading more about task sequences here. Also see here for the documentation on process flow. The left tab shows all the process flow activities that you can read more about.

I made a group representing processor M2A and M2B so that we can use an event triggered source in process flow so when any member of the group sends a flow item, the activity will make a token in process flow. We add the label "processor" to the token so that the task executer can know which processor to replace with a new item at the end of the task sequence.1687377356075.png1687377371492.png

See in this video how M2A finishes first, so the task executer runs that flow item down the line, replaces M2A with a new flow item. Then runs the item from M2B down the line.


Note: The logic from 3D routing was overwriting process flow which stopped the task executer in the middle of the task sequence. To fix this we just closed the output ports for M1 once the task sequences begin.

Let me know if that makes sense. Whenever you want custom tasks and logic process flow can be extrremely useful, so we recommended reading more about that. Good luck!

· 2
5 |100000

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

omer0 avatar image omer0 commented ·
I can not thank you enough I hope to be as good as you and your colleges at flexsim
1 Like 1 ·
Carter Walch avatar image Carter Walch ♦ omer0 commented ·

You're welcome! I definitely recommend the tutorials which help practice using 3D modeling and process flow together. Great job on everything you're doing!

1 Like 1 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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