
Hi, I have a function that needs triggering when a document is created inside of a particular collection. how do I listen for the creation and trigger the function?

I have deployed the function and if I set an event trigger to listen for the change, it works only once. then the event is removed

and you're not deploying it again?

what version are you on? I just tested and it looks like it stays for me...

CLI is 4.1.0

I added the event listener and tried with full admin access to any user and then tried function execution from client end and the permission roles also disappeared

so it actually gets removed when we redeploy 😭 and I have been traumatized for the last 4 hours

You'll need to make sure it's in the appwrite.json

Events and permissions

It should be everything. Make sure everything is configured in your appwrite.json
Recommended threads
- How to render .mov gif files from an App...
So I've read the support thread and the guides about file uploads. But I'm still having trouble rendering my .mov files to my React.js front end using the app...
- Install node-18 as function runtime?
How do i install node-18 function runtime to my appwrite on localhost? I have upgraded to appwrite 1.6.1. I can't find anything on Google and none of the ChatGP...
- DATABASE ERROR
I suddenly cannot delete any documents in my organization collection. No matter I use SDK or delete it manually in appwrite console platform, it still cannot be...
