Forum Academy Marketplace Showcase Pricing Features

Less than XX hours

Hello everyone,

I’m having an issue when trying to schedule an API for at least 48h before the date of an event. Meaning it should be something like “Current date/time - Event Start date/time value is < 48h”.
But I can get to that. I manage to get 48h before, but if an event is created and published within a day, the API isn’t triggered.
Does anyone know how can I achieve it?

Use the database triggers backend workflow…it will allow you to set up a conditional on it for the hours comparison…so, any time an event data type entry is created it will automatically look to the database triggers first to check the conditional if it should be run or not…use that in addition to what you already have setup.

I’ll try it. Thanks for replying!! :blush:

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