Thanks a lot for you feedback! I will update m’y code accordingly.
Regarding the workflow, I already published an article about it : Workflow to manage Work Reassignments based on Identity Attribute Change - #2 by bostelmann
Let me know if this what you are looking for