Build a Contact Center app that survives engagement switching without losing in-progress work.
contact-centerzoom-apps-sdkzoom-oauth(if backend identity mapping is required)
Agents can switch between active engagements. Your app instance may remain alive while visible context changes. If state is global rather than engagement-scoped, data corruption and agent frustration follow.
- Configure SDK with engagement capabilities.
- Query initial context and status.
- Subscribe to engagement context and status change events.
- Store drafts and workflow state by
engagementId. - On context switch, load the target engagement state.
- On end state, finalize or clear that engagement data.
- Single shared draft object for all engagements.
- Late event subscription after user interaction starts.
- Hard cleanup on tab switch instead of engagement end.
- Assuming visibility equals process lifetime.
../../contact-center/web/examples/app-context-and-state.md../../contact-center/concepts/architecture-and-lifecycle.md../../contact-center/RUNBOOK.md