An email listener after deployment to prod is now taking min 5 mins to create a cases post receiving mails, how to make it work in such a way that it creates cases immediately ?
Please check whether the Email Listener is running successfully in Admin Studio. Also, verify if there is a high traffic of incoming emails?
Additionally, review the PegaRULES log (especially log-service-email or email listener-related logs) for any errors or delays during email retrieval and case creation.
Identify the step that’s taking more time, try to optimize the activity , if there are steps that are independent and can be handled separately move them to a QP
Check PDC to get some indications of slowness.
Also, please check the below items
- Keep email listener processing lightweight by minimizing synchronous logic and avoiding heavy automations or API calls during case creation.
- Identify performance bottlenecks in parsing, large attachments, service activity, or integrations and optimize them accordingly.
- Offload heavy processing to a Queue Processor so the listener completes quickly and improves overall throughput and scalability.