question

SudheerReddy avatar image
0 Likes"
SudheerReddy asked Allister Wilson edited

Query on Wait for Event(Operation match)

I am trying to match the Tokens from Process flow and Flow items from the model, when they are matched the Wait for Event should release the matched token to next activity. But the attached model is not working in the desired way. Please help to achieve this.

For example at Wait for Event, tokens are waiting for Processor1 and Processor2 flow items to enter Queue2. If Processor1 flow item enters Queue2 first, then same token should be released in Wait for Event.

I am attaching the model for reference

waitevent.fsm

FlexSim 20.0.0
wait for event
waitforevent.png (75.7 KiB)
waitevent.fsm (30.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

Allister Wilson avatar image
2 Likes"
Allister Wilson answered Allister Wilson edited

You have a space after item in the Wait For Event configuration, so it's trying to match the "item " label which doesn't exist:

If you remove the space, it works as expected.


5 |100000

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