question

Guillaume V avatar image
0 Likes"
Guillaume V asked Guillaume V answered

Wait for Event : NEXT DAY

Hello, I'm a decide and wait for event to loop tokens until a condition is true.


The condition is a certain day when I'll allow my token to continue.
I'd like to use a wait for event activity that allows the token to continue every day.


Any idea how to do it?

wait-for-event-next-day.png

FlexSim 19.0.0
process flowwait for eventdecide
5 |100000

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

AndrewR avatar image
0 Likes"
AndrewR answered AndrewR edited

Hi,

I would use a Date/Time Source set to Daily repeat to generate a token at the time you want to perform the check. Set the Object in the Wait for Event to the Date/Time Source and the Event to On Exit.

1636047170969.png

In the Decide I would expect you to use the Conditional Decide and a condition based on, for example, Model.time

1636047748419.png



1636047170969.png (17.4 KiB)
1636047748419.png (26.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.

Guillaume V avatar image
0 Likes"
Guillaume V answered

Thanks @AndrewR that's exactly what I needed

5 |100000

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