question

Hemanth Sai Kumar avatar image
0 Likes"
Hemanth Sai Kumar asked Hemanth Sai Kumar commented

Trigger a message to release 1 st token in the process flow event

Hi Community,

I have a use case where I need to release the first token from the process flow when a part finishes processing in the processor. I tried creating a message trigger and set the control to 'event', but I wasn't able to release the token from the event for the next action.

Thanks in advance for your help.

Trigger_message.fsm

FlexSim 24.1.0
processflowprocessoronmessage trigger
trigger-message.fsm (36.6 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.

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered

You don't need a message for this (though technically that would be possible to do but much more cumbersome). Just assign the item to a label on the token, so the token can wait for that item to finish processing.

wait-for-item.fsm


wait-for-item.fsm (36.4 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.

Hemanth Sai Kumar avatar image
0 Likes"
Hemanth Sai Kumar answered Hemanth Sai Kumar commented

Hi Felix,
Thank you for your time and interest,

I am trying a use case where I want to release 1 token from the event on finish of Processor 2 or 3 process. Below I am attaching the example model. Thanks in advance for your support.

trigger_message_v1.fsm


· 3
5 |100000

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