I am trying to execute an Event (let’s call it barEvent) when updates are only made through a particular form view (let’s call it FooForm) without much success. I have my event’s Data change type" set to “UPDATES_ONLY” and tried setting the “Condition” to something along the lines of this:
CONTEXT("View") = "FooForm"
However, when I monitor the event or bot tied to the event, this never gets triggered (the bot just sends a message to google chat and works fine without any event condition specified). Since I’m using many views, I also tried a simple
which should cover any and all views in the app as they’re all named similarly. This also did not allow the event to fire.
The reason that I’m trying to accomplish this through “UPDATES_ONLY” and not "ADD_ONLY" or similar is because the actual row item is added before getting to the FooForm view and I need barEvent to run once and only once when it is edited through FooForm so that theoretically updating the row through another view (i.e. BarForm) would not trigger the event.
I’m open to other methods of conditional values to trigger the event, but the best I could think of is associating the event with a view itself. Please let me know if anything above is unclear of if I could provide any further clarification. Thanks in advance.