Loading...
Loading...
Use to deploy an Omni PresenceUserConfig (presence configuration) as one whole-record Metadata write with the decline/ACW fields set consistently: Auto-Accept off, Decline on, Decline Reason on (with a PresenceDeclineReason deployed in the same package), and an After-Conversation-Work wrap-up timer. Agents are assigned by username. Idempotent via the Metadata API files[].state signal. Triggers: create presence configuration, enable decline + decline reason + ACW wrap-up timer for agents, assign presence config to users. Do not use for ServicePresenceStatus (separate skill), for permission-set access to statuses, or to set the channel-level ACW timer on a ServiceChannel.
npx skill4agent add forcedotcom/sf-skills service-omni-presence-user-config-deployservice-omni-agent-users-createservice-omni-presence-status-deployservice-omni-channel-setup-coordinatebash scripts/deploy-and-report.sh <org-alias> [config_developer_name] [agent_usernames_csv]org-aliasconfig_developer_nameOmni_Demo_Presence_Configagent_usernames_csv…@…005…AGENT_USERNAMES_CSVDECLINE_REASON_LABELTrainingDECLINE_REASON_DEVELOPER_NAMECAPACITY5ACW_SECONDS60PRESENCE_STATUS_ON_DECLINEsfsfservice-omni-base-settings-configurePRESENCE_STATUS_ON_DECLINEservice-omni-presence-status-deploysafe_to_writedeploy-and-report.shPresenceDeclineReason:<reason>PresenceUserConfig:<config>enableAutoAccept=falseenableDecline=trueenableDeclineReason=truedeclineReasons=<reason>hasAfterConvoWorkTimer=trueafterConvoWorkMaxTime=<ACW_SECONDS>presenceStatusOnDeclineassignments/usersfiles[].stateUnchangedChangedCreated--asyncstatuscreatedupdatedreusedblockedconfig{developer_name, label, capacity, acw_seconds, state}decline_reason{developer_name, label, state}assigned_usernamesdeploy_idmanual_actionsblocking_issueServiceChannelServicePresenceStatus| File | When to read |
|---|---|
| PresenceUserConfig cross-field validators, XSD element order, decline-reason packaging, and ACW field pairing |
| Test bootstrap loaded by the contract suite to locate the skill root and run its shell entry point |
| Run after changing the deployment script to verify guard, whole-record, membership, and output contracts |