Service Presence Statuses Access on Profiles and Permission Sets

Presence statuses indicate whether an agent is online and available to receive incoming work items, or whether the agent is away or offline.

https://help.salesforce.com/articleView?id=service_presence_create_presence_status.htm&type=5

You can make presence statuses available to agents who are assigned to certain permission sets.
You can give users access to presence statuses through permission sets, or alternatively, through profiles.

https://help.salesforce.com/articleView?id=service_presence_give_access_to_statuses_through_permission_sets.htm&type=5

The component "Presence status" is retrievable and deployable by the Salesforce Metadata API but the "Service Presence Statuses Access" in the Permission Set or Profile is not supported by the Metadata API.

If you do retrieve with Workbench or ANT of the permission set containing the access to the presence status, this will not be retrieved. You can use the package.xml file below to do the retrieve of the permission set.

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
        <members>PermissionSetName</members>
        <name>PermissionSet</name>
    </types>
    <version>45.0</version>
</Package>

 

How did we do?