Hi Team,
I have a requirement where the email needs to be triggered on specific date and time.
For ex. User is raising a request initially. While raising the request he can set the remainder date. This date I am storing in DB. Email needs to be triggered for the remainder dates. What is the best practice to do this?Thanks!!
Discussion posts and replies are publicly visible
Run a process in a short interval which then checks whether to manage any reminders configured.
So, the process model should run continiously? Will it cause any memory consumption?
No - he means to kick off a fresh instance every so often (once or twice daily perhaps), query the DB to see whether any notifications fall into that time range, and if so, send them. Then that instance will end. It won't consume any (or much) extra memory, as it'll be short-lived.