Hello, i was reading the documentation but can't find this. I just want to check whether it is possible to set up a function event to be triggered when there is an update to a specific document's attribute.
For example, an attribute named "status" gets updated from true to false.
Nope, Events are document based only.
A quick workaround would be to create a second flags collection that will have only, for example:
- option id
- status
And listen to events for that small collection.
thanks @Binyamin for the workaround 🙂
[SOLVED] Trigger function by specific update to an attribute of a document
Recommended threads
- Payment problems
Its really beginning to frustrate me, last month I was on Pro plan on Appwrite cloud, I chose the option to downgrade next month(this one) to Free plan, and tha...
- Function executions via custom domain fr...
Aplogies if this was asked already. I'm self-hosting 1.9 on a self-hosted instance of Dokploy. I've made the necessary adjustments to the original compose file ...
- dynamic key missing scopes for database ...
Here are the scopes listed, I get permission errors for reading row and document. Appears to be missing since last time i checked. Database 6 Scopes policies....