function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
BonaaBonaa 

live chat

Created  presence status which incorporates two service channel, Chat and Case.
Chat routing priority as 0 and case priority as 1.
Case unit of capacity is 4 and Chat is 6.
So I want to make sure that agents are not getting two chats at same time.But there are chances that agent will get two cases at same time and he won't be available for chat.
How we can restrict that agents will get only one case.
PriyaPriya (Salesforce Developers) 
You can use the concept of Omni channel in case management:-
​​​​​​https://help.salesforce.com/s/articleView?id=service_presence_routing_options.htm&language=en_US&type=5