simulation without source 2

simulation without source 2

osama_a6
Not applicable
295 Views
8 Replies
Message 1 of 9

simulation without source 2

osama_a6
Not applicable

[ FlexSim 21.2.1 ]

Use the attached model. Let's assume I have more objects 3 and 4. The model has a task sequence or built-in dispatcher (built-in, assume it was a default setup from a special library, let's say I have inherited from a former programmer). Can I incorporate the current task sequence (or the dispatcher) with the process flow to make the following route (I don't want to change the reset code, more user-friendly simulation)? TaskExecuter1 go to object1,2,3,4. 1,2 task sequence, 3,4 process flow.

0 Likes
Accepted solutions (1)
296 Views
8 Replies
Replies (8)
Message 2 of 9

Jeanette_Fullmer
Community Manager
Community Manager

Hi @Osama A6,

It's hard to know how to help without looking at your model. To receive a more accurate solution, please post your model or a sample model that demonstrates your question.

Proprietary models can be posted as a private question visible only to FlexSim U.S. support staff. You can also contact your local FlexSim distributor for phone or email help.

Message 3 of 9

ryan_c10
Not applicable

Hi @Osama A6,

We haven't heard back from you. Were you able to solve your problem? If so, please add and accept an answer to let others know the solution. Or please respond to the previous comment so that we can continue to help you.

If we don't hear back in the next 3 business days, we'll assume you were able to solve your problem and we'll close this case in our tracker. You can always comment back at any time to reopen your question, or you can contact your local FlexSim distributor for phone or email help.

0 Likes
Message 4 of 9

joerg_vogel_HsH
Mentor
Mentor
Accepted solution

Yes you can control an existing logic from Process Flow. A tasksequence execution is tree node bound. You can alter any tree node data. For example you can change order of sub tree nodes, you can change tasktype. you can replace not begun tasksequences.
I would collect data from an existing model in lists and decide then how to manipulate the current control mechanism that it acts like I want it. I take away the possibility to decide on multiple available tasksequences and insert only necessary tasksequences.

Message 5 of 9

joerg_vogel_HsH
Mentor
Mentor

@Osama A6 , you said “use the attach model”. I found none, can you attach it? Thanks!

Message 6 of 9

osama_a6
Not applicable

Let's assume that you have the attached model, where you have no idea about it, and you want to override the tasksequence without messing with the dipatcher. You want to incorporate process flow with it. just-travel_no_idea.fsm

0 Likes
Message 7 of 9

osama_a6
Not applicable

Sorry for my mistake. just-travel_no_idea.fsm here the model.

0 Likes
Message 8 of 9

jason_lightfoot_adsk
Autodesk
Autodesk

What Jorg is referring to here is the tasksequence node in the tree under the object's "activetasksequence" or "tasksequencequeue" nodes. Under each is a node representing the task sequence. When you create Process Flow tasks they are insterted as a pair of tasks in the task sequence - one to do the task and the other to callback to the process flow when it is completed. So what Jorg is describing is adding the process flow tasks and then positioning them where you want in the tree by moving the pair of tasks to the positions you want. To do this generically may not be trivial since you either need to assume the structure of the task sequence to which you're adding tasks, or read the list of tasks to see what it's doing.

1640097677793.png

You can see how to change task attributes and rank here.


Message 9 of 9

connor_a
Not applicable

Hi @Osama A6, was Joerg Vogel'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 unaccept and comment back to reopen your question.

0 Likes