I’ve created a function with an aggregate on a collection. The last stage is the $out.
When I run the function in the function editor, the function create the collection in the $out stage.
When I create a trigger that schedules the function. The function doesn’t seems to work, there is no collection created.
All seems configured correct, but off course I’m missing something. Anyone some pointerd for me to look at?