Replace ProcessRootOperator or inject functionality
my problem is that i want to replace the processRootOperator because i want to execute some code at the end of a process execution. my idea was that i replace the function sendemail which is executed at the end and therefore i wanted to replace the processrootoperator. i tried this by creating a plugin with a new processrootoperator which works only if i create a new operator "process" in an existing process but not if i create a new process itself. are there other solutions or did i missed something? any help is welcome.