question

Dominik Hoffmann avatar image
0 Likes"
Dominik Hoffmann asked Jeanette F commented

Aquire different Ressource depending on the task

Dear all,

In my model I have many different tasks which require a ressource. I acquire the ressource with processflow. Many tasks can be done with all available ressources, thats why I created a Group for the Ressources. But there is one specific task which only a specific ressource can do. How do I specify this in the Acquire Ressource building block.

I hope the picture explains it a bit better.

Thank you in advance.

problem.png

FlexSim 21.2.4
processs flowacquire resourceressource group
problem.png (17.2 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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Dominik Hoffmann, 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 comment back to reopen your question.

0 Likes 0 ·

1 Answer

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

Specifying rules by which to acquire a resource is done through the Query/Object/Array field.

As the name suggests you can enter an object reference here, meaning only that specific object can be pulled. Or an array of objects, so there are multiple options of what to acquire.

1737357905430.png

The final, and most powerful option, is to use an SQL query with WHERE and ORDER BY clauses to refine which object is acquired.

See this recent post for an example where a query is used to constrain which objects can be acquired.

https://docs.flexsim.com/en/25.0/Reference/ProcessFlowObjects/SharedAssets/AcquireResource/AcquireResource.html

https://docs.flexsim.com/en/25.0/Reference/DeveloperAdvancedUser/SQLQueries/SQLQueries.html


1737357905430.png (24.0 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.