Hi! The function is triggered, when there is 'databases..collections..documents.*.update' but I see that the function is being executed times. Do you know why?
That function will be executed anytime any document in any database and collection is being updated
- Document updated --> 2. Function executed BUT why 3 times at once?
What does the function do
Does it by any chance update any document
It creates a summary of all markdown files, that are existing in the db
Are you updating any document during that process
it actually replaces the image names with their URLs, after getting the md content
There you have it
Thanks!
[SOLVED] Problem with Event Trigger
why exactly is it being executed 3 times? Not 4 or more, for example 😄
Don't quote me on this but as far as I remember they have some measures in place to prevent infinite loop. Not totally sure tho
Problem with Event Trigger
Hi! Unfortunately, it is happening the same, when just adding new documents, not changing/updating them. Do you probably have any solution? (using Python)
Log the event string to see what event is causing it
Sorry for the stupid question (as a beginner), but how to do this?
Retrieve the event string from the header x-appwrite-event
Do you know how to extract headers in python functions?
Recommended threads
- Function domain not available
Hello, even tho in docs you clearly describe that every function has its domain, I can not see it anywhere in any of my projects. How do I reveal the url of th...
- Inquiry: How to Reduce Cold Start Durati...
Hey! I was using Python for the function runtime, but after reading that Go has the fastest runtime, I switched my code over to Go. However, I'm still seeing co...
- After a GET request is passed to functio...
Create execution in the console can normally retrieve the get parameters。WHy?