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
Amrik Das 5Amrik Das 5 

How to create AgentWork for Offline Agent, so that they get Omnichannel Cases when they come online?

I want certain cases to be routed to specific agents. When they come online, they should be routed those cases.
AbhishekAbhishek (Salesforce Developers) 
Hi,

Omnichannel routing work based on agent availability. If one agent is offline then Omnichannel will route the case to another agent based on the Omni Channel Routing configuration If no agent is online then it will be placed into the queue.

Routing configuration work using two routing model
1) Most Available
2) Least Available
https://help.salesforce.com/articleView?id=service_presence_routing_options.htm&language=en_US&type=0 (https://help.salesforce.com/articleView?id=service_presence_routing_options.htm&language=en_US&type=0" target="_blank)

As per the omnichannel functionality, this is a standard feature that if the agent is not available or offline then assign the case to other agents the same for the capacity of the agents.

https://help.salesforce.com/articleView?id=omnichannel_routing.htm&language=en_US&type=0

Here is Routing Configuration and settings
https://help.salesforce.com/articleView?id=service_presence_routing_configuration_settings.htm&language=en_US&type=0

I hope you find the above information is helpful. If it does, please mark as Best Answer to help others too.

Thanks.