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
Muhammad Hammad 8Muhammad Hammad 8 

how to query user presence status options?

I want to query presence status along with Options(Online/busy) for every presence status assigned to users. However, there is no field present for Options in the documentation.

https://developer.salesforce.com/docs/atlas.en-us.omni_channel_dev.meta/omni_channel_dev/sforce_api_objects_userservicepresence.htm
VinayVinay (Salesforce Developers) 
Hi Muhammad,

I don't think we can query available presence status of user and haven't found any documentation for same.

Reference:
https://trailhead.salesforce.com/trailblazer-community/feed/0D54S00000A8xf5SAB

Hope this helps...

Thanks,
Muhammad Hammad 8Muhammad Hammad 8
Hi Vinay,
Can we get the status of presence status for e,g whether the presence status is set for Online or busy?