0

I want to fetch assigned cases or leads to a logged user in user in Omni-Channel, by using Lightning component or apex or visual force pages.

I tried many methods but I am not getting a response in return.

Please help.

Thank youenter image description here

1 Answer 1

2

When a work item is assigned to user through omnichannel. It creates one entry in Agent Work object.

If a workitem is in user omnichannel then agent work status is assigned. If workitem moved to my work then agent work status changed to open.

Try to build custom logic on this object to get the cases assigned to user using omnichannel.

4
  • Thanks, bro it worked, can you please help me in one more thing, how can I get the user's recent omnichannel status. Sep 6, 2019 at 16:22
  • I mean online, offline, Busy etc and also how can I change that status dynamically. Sep 6, 2019 at 16:23
  • Try to work on this object, may be you get some crack with this object. I am not sure whether we can modify the presence status programatically. developer.salesforce.com/docs/atlas.en-us.api.meta/api/… Sep 6, 2019 at 16:27
  • Thanks mann, It really helped me alot. Sep 6, 2019 at 16:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .