How to send a timely notification

Hello everyone, I have a task in which you need to send a notification if the scheduling deadline is approaching and there are 30 days left and also send a notification 5 days before the rest of the deadline. I have searched a lot now and now I cannot find an answer to which element and how to do it. I thought to use Timer event, but if I do it with the help of cron, then how to understand that you need to leave the task and not run the scheme again every time if sending a notification is not relevant

Hi @Geron12,

you can go for timeout event listener on a user task. You can find details about it here: https://docs.camunda.org/manual/7.14/user-guide/process-engine/delegation-code/#defining-a-task-listener.

Hope this helps, Ingo