question

joey avatar image
0 Likes"
joey asked Braydn T commented

Create decision conditions

Hello everyone, I need help. I want to change "Decide" from normal to it. Check "Plane5" whether there is an item or not.

I want to change "decide" to check the list. "Plane Out and Plane5" Check which items. the most age to release the token.900.fsm

I don't know which command I need, so I need advice from you.

Thank you for your help in advance.

FlexSim 19.0.4
decide
22.png (40.3 KiB)
33.png (56.5 KiB)
900.fsm (65.8 KiB)
· 6
5 |100000

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

Joseph Gillespie avatar image Joseph Gillespie commented ·

@joey

I'm not sure I understand what you are asking for. The "Decide" activities already check if there are items in "Queue total" or "Queue total2". As for pulling the oldest items off the list, that is already the default. Could you explain more precisely what you want to change?

0 Likes 0 ·
joey avatar image joey Joseph Gillespie commented ·

HI @Joseph Gillespie I want to edit "Decide" but I'm not sure what to use. Decide or Pull from List.

To pull the most age list between Plane out (Queue1,2,3,4) and Plane5 (Queue total, Queue total2)

0 Likes 0 ·
1.png (3.8 KiB)
0.png (60.6 KiB)
Joseph Gillespie avatar image Joseph Gillespie joey commented ·

@joey

What do you mean by "the most age list"?

0 Likes 0 ·
Show more comments

1 Answer

Joseph Gillespie avatar image
0 Likes"
Joseph Gillespie answered Braydn T commented

@joey

Here's your model but I eliminated the requirement to pull from a specific queue. Now each token pulls the oldest items of the specified type regardless of which queue they are in. Is this closer to what you are looking for?

900updated.fsm


900updated.fsm (64.5 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.

Braydn T avatar image Braydn T commented ·

@joey

Did this answer help you? If so, could you please accept it? If not, could you let us know what else we can do to help you? Thanks!

0 Likes 0 ·