Welcome to privacyIDEA.
You should explain in more detail how you are using the event handler.
Please note (for logic reasons) a response mangler can not work in a pre-event handler, since at this point there is no resposnse available.
In case you are German speaking, listing to this podcast about enrollment strategies: