question

Nicola Schreck avatar image
0 Likes"
Nicola Schreck asked Jacob Gillespie commented

Queue to Processor Priority

I have one very brief question, to which someone hopefully has an answer :)

My model contains a queue leading up to a processor. I have a list of the individual items, of four different item types, in a global table with one column indicating individual "urgency factors". I would like the processor to handle the items according to this factor (lowest first).

Which is the best way to do this?

FlexSim 17.0.2
queueprocessor
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

Kari Payton avatar image
3 Likes"
Kari Payton answered Jacob Gillespie commented

@Nicola Schreck You can set the properties on the procesor to pull items based on the item type label that you set.

Flow Tab -> Input ->Pull Strategy -> Pull item with Minimum Custom Value -> item.type

See this post for an example.

· 2
5 |100000

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

Nicola Schreck avatar image Nicola Schreck commented ·

Does this also work if the custom value (according to which the processor should pull the next item) is different for each individual item and not at the item type level? If it works, how would I specify such a label at the source?

0 Likes 0 ·
Jacob Gillespie avatar image Jacob Gillespie ♦ Nicola Schreck commented ·

@Nicola Schreck Yes, do like Kari said above but put item.customValue. You can set a label in the OnCreation trigger of the source.

0 Likes 0 ·