question

Allyson avatar image
0 Likes"
Allyson asked Jeanette F commented

Candidate "placeholder" reference for use in a SQL query?

My goal is to query an item list for all flow items that are located in a specific parent node.

If I knew the exact flow item in question, I could check this condition by:

  1. if(flowItem.up == parentNode){ //... }

However, I am searching a list of candidates, so I don't know the specific flow item yet. I have seen elsewhere that some search protocols allow something like "candidate.up == parentNode" to allow a function to be executed on candidates during the search, but I can't find anything like this for FlexSim's SQL search functionality. Is there a way?

FlexSim 23.0.0
sql queries
· 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.

1 Answer

Jeanette F avatar image
0 Likes"
Jeanette F answered Jeanette F commented

Hello @Allyson,

You could use a SQL query like the following

  1. value.up == Puller.PullQueue

or

  1. Queue == Puller.PullQueue // where Queue is defined in the advanced properties of the list

Pull Query.fsm

Please let me know if you need further assistance with this question


pull-query.fsm (32.4 KiB)
· 7
5 |100000

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