Hi, I’ve been searching the forum for a solution, but the ones that I’ve found haven’t worked for me.
I have a button which purpose is to notify a set of users if they have not submitted their to-do list that morning. I have a table called People with just 2 people in it so far. There is another column called “Submitted” with a checkbox. The button needs to send a notification to the user if the box is not checked.
When I click the button, nothing happens, yet I don’t have any errors in my code. I’m sure I’m misunderstanding something, just not sure what it is. I’m glad to share a link to the doc if that would help. Thanks!
I approved you, and gave View permissions. I hope that’s enough to see what you need.
I replaced the button with your code, and it does now say “Notification sent”, but I’m not seeing it yet. I don’t know how long I need to wait for it to come through.
Edit: It just came through. Thank you! Now is there an explanation on why this is working now? I was under the impression that Notify doesn’t work on a list of people, which is what the Filter formula is producing. That’s why I was using ForEach, to be able to send the notification to each person that meets the requirements.
Honestly, I’m not quite sure why the original formula wasn’t working. It was slightly bulkier than necessary (RunActions is only needed when multiple actions are being called, etc.), but nothing looked wrong to my eye.
As for calling notify on a list, I didn’t know it worked that way either until I went to the documentation to check if there was a flag or something we could set and saw that its first argument can be a list.