Breadcrumbs

Patch Release CX4.4.14

Release Name

CX4.4.14

Status

QA Passed

Release Date

Release Summary

Includes synchronous processing of AGENT_UNSUBSCRIBED and handles race conditions while publishing TASK_STATE_CHANGE to RESERVED

Upgrade Guide

Upgrade Guide CX-4.4.13 to CX-4.4.14

Resolved Issues

This is a patch release on top of CX4.4.13. This includes the following critical fixes.

Synchronous processing of AGENT_UNSUBSCRIBED

Previously, Agent Manager was publishing AGENT_UNSUBSCRIBED asynchronously without waiting for the response of the TASK_STATE_CHANGED request. As a result, the TASK_STATE_CHANGED event with state CLOSED was sometimes received after the conversation had already been closed on AGENT_SUBSCRIBED. Since the conversation was already marked closed, the TASK_STATE_CHANGED event was ignored and not recorded.

Fix: AGENT_UNSUBSCRIBED is now published only after receiving the response to the task state change request, ensuring that the TASK_STATE_CHANGED event is published and recorded first.

Race condition while publishing TASK_STATE_CHANGED to RESERVED

A race condition caused the in-memory task object to be prematurely updated to ACTIVE by another thread. As a result, the publishing thread sent TASK_STATE_CHANGED and AGENT_RESERVED events with the incorrect state ACTIVE instead of RESERVED.

Fix: TASK_STATE_CHANGED and AGENT_RESERVED events are now published with the correct state RESERVED.