question

shanice.c avatar image
0 Likes"
shanice.c asked Ryan Clark commented

OnExit option in Wait for event

In my Product_ProcessFlow, I need a token to wait until there are processors or queues available. It cannot use condition in wait in event activity, so I use Decide activity to determine if there are Queues and processors, while if the task still cannot be created. Token have to go back wait again, because the resource a token needs could be Queue or Processor, I have grouped these two resources together and trigger when something exit from any one of the resource. But this way, the Group could not trigger on Exit(It seems there is only on exiting option, but this is for AGV as I understand), there also show invalid trigger. How could I deal with this to make it work correct?



1632308646599.png

0922.fsm

FlexSim 21.2.0
wait for event
1632308646599.png (66.8 KiB)
0922.fsm (773.7 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

Ryan Clark avatar image
0 Likes"
Ryan Clark answered Ryan Clark commented

Hello @Fiona C,

I think there are a couple problems with your current setup. First is that the group you're listening to for that event is a group of groups. You should instead add all of the individual members of the subgroups to the larger group, so it can listen to those objects. Also, the Event should be "OnExit" instead of "On Exit" (there shouldn't be a space). If you follow these steps, you shouldn't have further issues with this aspect of your model.

I hope this helps! Let us know if you have further questions!

· 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.

shanice.c avatar image shanice.c commented ·

Hi, @Ryan Clark Thanks for the reply. I have tried the method of listening to individual members, it seems working fine.

0 Likes 0 ·
Ryan Clark avatar image Ryan Clark shanice.c commented ·
That's great! Glad to help!
0 Likes 0 ·