fix: changes made for outbound worklist navigation issue#76
fix: changes made for outbound worklist navigation issue#76RoshiniND wants to merge 1 commit intorelease-3.7.0from
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|



📋 Description
JIRA ID:
After clicking the call icon in the Outbound Worklist, the app was not navigating to the Beneficiary Registration screen consistently. The navigation depended on the Czentrix CTI system sending an "Accept" event, which only fires after the Czentrix SDK fully loads. On slow networks, this took 30+ seconds or never happened at all, causing the page to stay on the Outbound Worklist.
Fix: Instead of waiting for the Czentrix Accept event, we now poll our own getAgentState API every 15 seconds. When the agent status transitions to INCALL after a call is initiated, navigation to Beneficiary Registration is triggered immediately without depending on Czentrix SDK timing.
✅ Type of Change
ℹ️ Additional Information
Please describe how the changes were tested, and include any relevant screenshots, logs, or other information that provides additional context.