Presence state dropdown is not visible for the agents on Agent Workspace Inbox.


Description

On Inbox for Agent Workspace, Agents do not see the dropdown to change the presence state from offline to available or vice versa. The presence state drop-down is not visible for the agents. 

 

Below is the console error:

agent-workspace.vendor~form.js~page.js~renderers.js~ws.js.min.js?sysparm_substitute=false:55 TypeError: Cannot read property 'map' of null
at agent-workspace.vendor~page.js.min.js?sysparm_substitute=false:2
at agent-workspace.vendor~page.js.min.js?sysparm_substitute=false:2
at t.getNextPresenceStates (agent-workspace.vendor~page.js.min.js?sysparm_substitute=false:2)
at t.value (agent-workspace.vendor~page.js.min.js?sysparm_substitute=false:2)
at updateClassInstance (agent-workspace.vendor~form.js~page.js~renderers.js~ws.js.min.js?sysparm_substitute=false:55)
at beginWork (agent-workspace.vendor~form.js~page.js~renderers.js~ws.js.min.js?sysparm_substitute=false:55)
at r (agent-workspace.vendor~form.js~page.js~renderers.js~ws.js.min.js?sysparm_substitute=false:55)
at a (agent-workspace.vendor~form.js~page.js~renderers.js~ws.js.min.js?sysparm_substitute=false:55)
at i (agent-workspace.vendor~form.js~page.js~renderers.js~ws.js.min.js?sysparm_substitute=false:55)
at _ (agent-workspace.vendor~form.js~page.js~renderers.js~ws.js.min.js?sysparm_substitute=false:55)

Release or Environment

All

Cause

Agents do not have access to create and write access to the table awa_agent_presence.

Resolution

Check the ACLs for Write and Create access for the table awa_agent_presence and allow the access for awa_agent roled users.