You say here that you enabled the event whilst deploying. Perhaps you need to enable before deployment for it to be switched on properly. Have you restarted since?
Hey Soundarya,
if you running your application on private cloud you need to configurate them in yaml, you can find how on following link https://github.com/mendix/m2ee-tools/blob/master/examples/full-documented-m2ee.yaml
best regards, Slavko