Rank 1: Thread
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?
Votes
0
Replies
19
Participants
Unknown
Messages
20
Rank 1: Thread
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
Rank 1: Thread
What does the function do
Does it by any chance update any document
Rank 1: Thread
It creates a summary of all markdown files, that are existing in the db
Are you updating any document during that process
Rank 1: Thread
it actually replaces the image names with their URLs, after getting the md content
There you have it
Rank 1: Thread
Thanks!
Rank 1: Thread
[SOLVED] Problem with Event Trigger
Rank 1: Thread
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
Rank 1: Thread
Problem with Event Trigger
Rank 1: Thread
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
Rank 1: Thread
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?