question

Siva_selvan Av avatar image
0 Likes"
Siva_selvan Av asked Siva_selvan Av answered

Prioritize tokens in "Acquire Resource" Activity

In my process, initially for 5 mins i need operator & then for next 10 mins its machine time. After that, for next 5 mins operator is involved.

I use 2 "Acquire Resource" activity, one at the start & another at the middle. At a moment, 2 tokens arrive at each Acquire Resource activity. Now I need to make priority to acquire the resource in 2nd Acquire Resource activity.


I don't know how to acquire a resource by prioritizing the incoming tokens & decide on which token to acquire the resource.

FlexSim 21.0.10
processflowtokensacquire resourceprioritizationtoken priority
5 |100000

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

Siva_selvan Av avatar image
0 Likes"
Siva_selvan Av answered

prioritize-tokens-in-acquire-resource-activity.jpg

I tried pushing resources to a list & activities to a list.

Then first pull an available resource & then pull an activity from a list based on priority criteria and continue the process from there.
This is working as i expect. Not sure any other errors will occur in future


5 |100000

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

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Siva_selvan Av commented

That's the Queue Strategy of the resource (back orders) - use SQL ORDER BY Puller.processStage DESC or something like that.

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

Siva_selvan Av avatar image Siva_selvan Av commented ·

Yes, I tried it. But it will sort only within the list of resources available and not the tokens entering the acquire activity.

I tried pushing resources to a list & activities to a list.

Then first pull an available resource & then pull an activity from a list based on priority criteria and continue the process from there

0 Likes 0 ·