question

Pinakin K avatar image
0 Likes"
Pinakin K asked Raja Sekaran answered

How to write custom code in for event in wait for event activity?

I have a model, in which I am using the object as that is referenced in a group of objects. So when I reference the object the only events i see are On Message, Object Variable and Same as Object. While I want all the available events.

So my question is, is the a way to use custom code to return the events the token would listen to?

FlexSim 18.1.2
wait for event
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

Raja Sekaran avatar image
2 Likes"
Raja Sekaran answered Joshua S commented

@Pinakin K

First Choose the group and the event which you wanted to listen to. Then define the object on which the event will happen. I have attached the sample model.

I hope this helps.

waitforevent-eventlistening-support.fsm

Thanks


5 |100000

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