Stop Task Sequence

Stop Task Sequence

idoia_a
Not applicable
608 Views
4 Replies
Message 1 of 5

Stop Task Sequence

idoia_a
Not applicable

[ FlexSim 19.0.2 ]

Hello,

I would like to know if there is any possibility to stop a task sequence in Process Flow, for example, using a Custom Code.

Thank you in advance,

Idoia

0 Likes
Accepted solutions (1)
609 Views
4 Replies
Replies (4)
Message 2 of 5

tanner_p
Not applicable
Accepted solution

I'm not sure if this is what you're looking for, but you can use Stop Object in a Custom Code PF activity to stop an object mid-task sequence. Let me know if this helps. If not, maybe you could provide more details about what you'd like to do in order to get a more detailed answer.

17927-stop-object.png

Example model: stop-object.fsm

0 Likes
Message 3 of 5

idoia_a
Not applicable

Thanks for your answer. Unfortunately, I have already explored that option and it doesn't work for me. I have two task sequences for the same transporter. Once an activity is fired, I would like to stop one task sequence and start doing the other one. I attach a model, hoping you will get a better understanding of what I'm trying to do. In the model, I have tried to stop one of the task sequences by referencing it in the Custom Code, which is not working. Maybe there is a different way of doing this. stopts.fsm

0 Likes
Message 4 of 5

joerg_vogel_HsH
Mentor
Mentor

@Idoia A, You want to preempt an active tasksequence. The tasksequence, that interrupts the active tasksequence, is set to a different preempt Parameter than default.

Please look in the manual Tasksequences: Priorities and Preempt.

0 Likes
Message 5 of 5

idoia_a
Not applicable

I will take a look at the manual, thanks for your quick response.

0 Likes