Schedule With Condition


I’ve an application for time tracking with Checkin and checkout process
Sometime users forgot to make their ckeckout so I’ve create a reminder that send a mail every @ 11:59PM to inform them there will have an auto-checkout for the current day.
The schedule is launch when they make their checkin and os planned to be sent in the evening

In a normal world the reminder should not be sent if the user has already make the Checkout.

So in my backend workflow I’ve put the condition checkout is empty.
It does not work because I think the scheduler is launch when the checkin is made

Any Idea how to solve this ?

You should be able to make do a search to ge the “latest” value of the checkout.

Also you could store the ID of the workflow. Then when they checkout cancel that workflow

Storing the ID is perfect tks