question

Nathan H5 avatar image
0 Likes"
Nathan H5 asked Joerg Vogel commented

Prioritize finishing a task sequence before going on a scheduled break

My resources are going on break in the middle of a custom task sequence, and I want the resource to finish the task sequence before going on break. I played with the priorities with the task sequence having a higher priority than the breaktime, but I am still running into the same problem. I believe it is happening because of a “wait for event” step in the task sequence, so once the token hits that step it allows the resource to go on break.

FlexSim 21.2.4
tasksequenceprioritization
5 |100000

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

1 Answer

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

A break is dispatching a preempting tasksequence. You want to finish and then go into a break. Then the break preempting value is NOT_PREEMPT and the priority must be higher than any other tasksequence

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

Nathan H5 avatar image Nathan H5 commented ·

Thank you for your reply. I am using time tables to determine the scheduled down times. How do I assign the NOT_PREEMPT value? I only see an option to give the down function a priority value.

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel Nathan H5 commented ·
You can select a different property especially designed for operators or in general taskexecuters instead of stopobject. Stopobject will executes a default action, which creates a preempting tasksequence.

if you select travel to location and wait, then you get access to involved Taskexecuter by local variable d3clared as object by downobject.

To keep him at his current location, you can set

  • downobject.location.x
  • downobject.location.y
  • downobject.location.z

if you need a pair of stop and resume, which let the Taskexecuter resume earlier you have to create an own tasksequence by source code or Process Flow.

0 Likes 0 ·