Help to trigger a notification based on a date field update in back end

Greetings. I want to fire off a notification that triggers when I populate a hidden date field in the back end (admin). I’m trying to balance the following limitations as I develop a snippet.

Form ID is #14
Date field is #68
Flag field is #70

  1. My newbie GF code development skills

  2. Dates can’t be used at notification conditions so I am thinking a pre-submission code snippet that would sense the change from the date field being empty to being populated and set another text field to “1” as a flag … and I could use that text field to test for a conditional notification.

  3. I’m not sure how to eliminate re-firing if I make another change to the entry sometime in the future. It seems that if the notification fires based on conditional logic checking for a flag, it will always trigger when the entry is updated because the flag is set. Maybe a post notification snippet is also needed to change the flag to “sent” so it will no longer trigger notifications … and make the pre-submission flag snippet only set the flag if the date changes and the flag field is not “sent”.

Note: GFAPI::send_notifications() seems to send all notifications - I only want to send one notification so I don’t think that can be used in a snippet.

Your help is appreciated … Thanks!

I was going to suggest our Notification Scheduler plugin but it honestly might be easier to just use Gravity Forms “Resend Notifications” feature alongside a “manual” notification.

Thanks David.

That would work and I’ll start using that flow right away.

But I’m trying to automate my flow as much as possible. I currently use Gravity View to allow me to edit several entires at ounce (just adding today’s date when the entry is fulfilled, which is a cut and paste to a label printer application that I am also trying to automate). Adding dates this way is two quick clicks on the same page as the next entry with no thinking twice about where I am. If I had to load each traditional GF edit page, then manually send a notification, and then go click to lad the next entry page I would be slowed down - that’s why I want to auto trigger the notification. I can be processing 10-20 of these updates at a time.

Sooo … is it possible to trigger a specific notification via a snippet?

Thx for bearing with me