Scheduled Notifications With Math

I have been using Scheduled Notifications for a few months now with success. I am starting to implement notifications that use math as in 2 days before the date/time.

I have read all of the documentation and believe to be setting things up correctly, but the schedule notifications is failing when I add the -2 to the schedule date field. I also notice the “-” sign does not turn green like most math calculation fields display which indicates that something isn’t quite right.

Can anyone provide a little insight or has anyone else encountered this?

Many thanks,

Taylor

Hi Taylor,

This won’t work and if you check the network tab through dev tools, you would see the error like date not formatted properly because the magic text input should be as no formatted so it’s basically a text field which is because the ‘-’ doesn’t change the color. It’s mentioned here : Troubleshooting Scheduled Notifications | Adalo Resources

You can create a new date & time property in the users collection to store the date temporarily and before the schedule notification action, add the -2 and map that temp property (logged in user > ..) into the date field in the notification action and choose no formatting. Similar setup : Create Scheduled Notification on Trigger | Adalo Resources

Let me know how it goes!

Thank you and have a great day!