I've been struggling all day to troubleshoot an automation that doesn't trigger reliably. I'm pretty sure that when I originally developed it, I successfully tested the exact scenario that's now not working. I appreciate any guidance from community colleagues regarding what I may be overlooking, or confirmation regarding whether others are observing problems.
Solved! Go to Solution.
Bots trigger on data changes. The re-evaluation of a Virtual Column is not a data change.
Bots trigger on data changes. The re-evaluation of a Virtual Column is not a data change.
Thanks for noting that crucial distinction. I'll noodle on an alternate approach and report back anything interesting I come up with--although I assume this is a common scenario that others have long since solutioned.
The distinction really ought to be explicit in the help articles about automation--e.g., in the How bots are triggered section of Bots: The Essentials - AppSheet Help and in Events: The Essentials - AppSheet Help. I submitted that suggestion via the article feedback feature.
Update
I changed from virtual to real the column referenced in the following sentence from my original post:
Nonetheless, I continued to struggle with inconsistent automation triggering--even though I could see the value of the triggering column change from false to true.
I just now also changed from virtual to real the column referenced in the following sentence from my original post:
Based on preliminary testing, it looks like this has resolved the issue. However, I'm not clear on how a virtual column upstream from a data source column's app formula can affect triggering of an automation event based on a data change in that data source column. I imagine it's tangled up in the matter of what gets calculated where and when between the client and server on either side of a sync.
Regardless, of course, I'm pleased it seems to be working. Also, if the right takeaway is that columns referenced in an automation event's Condition property should not have app formulas that reference virtual columns, that's helpful to know.
User | Count |
---|---|
36 | |
33 | |
27 | |
23 | |
18 |