I want to trigger a cloudscript/azure function when a statistic version is changed/resetted.
This function has to be called exactly once and it should be instantly called as statistic gets resetted as it will do some things which should not be called more than once.
How can this be achieved?