How to attach event trigger to arrival time inside Schedule Source?

How to attach event trigger to arrival time inside Schedule Source?

vedran_rl
Not applicable
145 Views
4 Replies
Message 1 of 5

How to attach event trigger to arrival time inside Schedule Source?

vedran_rl
Not applicable

[ FlexSim 20.0.0 ]

0 Likes
Accepted solutions (1)
146 Views
4 Replies
Replies (4)
Message 2 of 5

joerg_vogel_HsH
Mentor
Mentor

You can identify a second scheduled arrival by assigning a label value. You can assign a label value by source code and this code can send a message to get an event you can listen to. Or a next activity will evaluate this label to do something.

In fact there is already an event. It is called On Creation. But it is up to you to filter this event to be evaluated only for tokens that are created upon the second arrival.

0 Likes
Message 3 of 5

vedran_rl
Not applicable

Hi Jorg,

Thank you on answer , can you show me on one case how to do it? Thank you in advance and Happy New Year. 🙂

0 Likes
Message 4 of 5

jason_lightfootVL7B4
Autodesk
Autodesk
Accepted solution

Attached an example using a label on the process flow to record the time of the last arrival and thereby have a unique token created and retained for each arrival event, regardless of the number of tokens generated by the arrival.

DetectScheduleArrivalEvents.fsm

0 Likes
Message 5 of 5

Jeanette_Fullmer
Community Manager
Community Manager

Hi @Vedran RL, was jason.lightfoot's answer helpful? If so, please click the red "Accept" button on their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes