Trigger an event on time saved in db

Hello !

I currently have a notification system that I built myself. Inside the notification table in the database, I have a “Release date”. Ideally, I would like to check if the current time is the same as the release date and run a custom workflow that pushes this notification. At the moment I have the scheduling done in the workflows of my index page, which I soon realized is a dumb idea and tried to switch to backend workflows, however, the main issue that I face is that my custom workflow that releases the notification takes a notification object as a parameter and as far as I can see there is no way to schedule the API workflow in backend and also send it an object as a parameter. Can someone please help me with an idea/ solution to this problem?

Thank you in advance,

Badici Rares

@rares.badici_bubble

You could create a new database trigger event in the backend workflow:

Here are some reference about this kind of event:

In the main page you can update the field you want to trigger the backend workflow.

I hope this helps!

This topic was automatically closed after 70 days. New replies are no longer allowed.