question

Beatriz Spaggiari avatar image
0 Likes"
Beatriz Spaggiari asked Joerg Vogel commented

Problem with task executer preemption in travel active

Why when returning a token for the travel activity, after a preemption block, the task executer doesn't continue the traveling task from where it left off? The task executer's state returns as idle, instead of traveling empty, as if it had already finished the activity.

1638447671808.png


1638447683526.png

And he only starts moving again after a travel activity with another final destination.

1638447797444.png

Is this some incompatibility between task sequences and preemptions activities?Test_TaskExecuter.fsm

FlexSim 21.2.4
processflowtasksequencepreemption
1638447671808.png (188.4 KiB)
1638447683526.png (188.2 KiB)
1638447797444.png (188.0 KiB)
· 1
5 |100000

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

Connor A avatar image Connor A commented ·

Hi @Beatriz Spaggiari, 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 0 ·

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Joerg Vogel commented

There is not a inconsistency. If you call preempt on a taskexecuter traveling on a node network, you set him directly into an offset travel state. This behavior is default. Now you assume that there is a incompatibility by using process flow preempt and restore action, but you observe only a behavior totally independent from process flow.

· 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.

Maíra A avatar image Maíra A commented ·
Hi @Beatriz Spaggiari and @Joerg Vogel, is there already a solution to this incompatibility?
0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel Maíra A commented ·
@Maíra A, it is a feature and not a bug.
0 Likes 0 ·