question

Joflexsimwo avatar image
0 Likes"
Joflexsimwo asked Andrew O commented

[people flow] How to divert staff resources to another job after an event?

In my model, all staff are to be diverted to another ongoing task (Task B) after Task A has been completed.

I am currently using people flow to run my model.

How do I enable this feature?

FlexSim 22.0.0
acquire resourcestaffpeople flowevent triggerassign job
· 3
5 |100000

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

Felix Möhlmann avatar image Felix Möhlmann commented ·
Is Task B already ongoing and the staff is diverted to "help" with the task or is it a new task?

Is it a fixed task, as "if nothing else to do, do Task B"?

0 Likes 0 ·
Joflexsimwo avatar image Joflexsimwo Felix Möhlmann commented ·
Task B is already ongoing and the staff is diverted to "help
0 Likes 0 ·
Andrew O avatar image Andrew O ♦ commented ·

Hi @Joflexsimwo, was Felix Möhlmann'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

·
Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered

What you could do is keep a list of all ongoing task. Every token pushes itself onto the list before it starts coordinating its current task. After that task is finished it pulls itself off of the list again. That way, if another token finishes a task in the mean time, it can find and pull the token from list. The finished token can then be send to help with the other task. What exactly that constitutes would depend on the task. If you have multiple different types of task, you would need to define a label on the tokens that lets others read what task it is doing, so any helping tokens can be send to corresponding parts of the process flow.

The following picture is a tough outline of how this logic could look.

1660041181381.png

The 'Push to List' activity would be set so the token is released immediately but the entry stays on the list.

1660041319892.png

The second 'Pull from List' would send the token to either connection, depending on whether another task token could be pulled or not.
1660041353816.png


1660041181381.png (40.1 KiB)
1660041319892.png (19.3 KiB)
1660041353816.png (30.2 KiB)
5 |100000

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

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.