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
- Unable to create Sites or Functions with...
Heya, I was looking at the appwrite documentation for Sites API with the server api: https://appwrite.io/docs/references/cloud/server-nodejs/sites I canβt fin...
- Triggers and call function in function p...
Hello, Today we are experiencing several issues with Appwrite Cloud. Functions triggered by events, or functions called from another function, are taking an e...
- TablesDB `updateRows` returns `database_...
Hi Appwrite team! Iβm seeing a strange issue with TablesDB bulk row updates on a self-hosted Appwrite instance. **Environment** - Appwrite self-hosted `1.9.0` ...