question

Kari Payton avatar image
0 Likes"
Kari Payton asked Jason Lightfoot commented

Is there a way to query a list of task executors by closest distance to puller?

querylist.fsmI had a list of 72 operators avaivable on a list and 8 different fixed resources that pull the operators they need from the list for different sub processes. In real life the operators closest to the fixed resource will work in that location. Is there a way to use the query list option for this?

FlexSim 17.0.1
query
querylist.fsm (34.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.

1 Answer

anthony.johnson avatar image
1 Like"
anthony.johnson answered Jason Lightfoot commented

You should be able to just pull from the list with the query: ORDER BY distance, as distance is one of the fields you get with a task executer list. You may need to adjust the distance field's code if you have some weird scenario, but in general it should just work.

· 4
5 |100000

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