Scheduled notifications

Hi!
I’m working on my app for a while now. But im struggling with the scheduled notifications.

Here’s the situation:

  • I have a database called ‘Matches’, one of those properties is the Date/Time property.
  • At the match details, i have a button. With that button i want to create a scheduled notification for the logged in user, 1 day and 3 days ahead of the game. So there should be 2 scheduled notifications created.
  • The app is in Dutch, so you might not understand the text. The action is as follows:
  • Between (..) is magic text
    • Recipient: Logged in User
    • Title: Reminder
    • Body: Je moet fluiten op (Match Date/Time).
    • Scheduled Date: (custom formula) > (Match Date/Time)-3
    • Repeat type: none

Yes, i’ve also tried no custom formula but with the normal magic text Date/Time and then No-Formatting, that works. But i want math inside the scheduled time. I’ve tried a few ways, but i won’t manage to make it work. The scheduled Notification won’t be created. Permissions for notifications on the device is allowed.

Any help?

Thanks
^Stefan

Hi there, unfortunately in Adalo you can’t set the notifications recipient as the loggedin user, it won’t work, notifications can be triggered by a user but not received by them, that’s one of Adalo’s limitations,

Hi!
Thanks for your reply. I do think you are mistaken, because it actually does work. I’ve done it now multiple times. With a button i can schedule a notification in the future for myself (current logged in user) with the PWA app.

But i fixed the problem now, instead of using math in the scheduled notification, i’ve created a way to get the date/time i want to send the reminder, as a property in the database and then it is a simple magic text with no formatting.

So i’ve fixed the issue myself :slight_smile: , but a reminder, you can actually schedule notifications for yourself.

Hi @sdeman98, welcome to the community! :tada:

Read here : Scheduled Notifications With Math - #2 by Dilon

And yes, scheduled notifications can be sent to the logged in user/notification triggering user which makes it special.

Thank you and have a great day!

Thank you for the update, it was impossible to do it, I guess they have updated it