Help for sf Commands
IndustriesSettings
Industries Object Access by Community License
Access Industries Features Deployed Using Managed Packages
Previous Versions
The command reference contains information about the Salesforce CLI commands for the Service Automation plugin and their flags.
The sf section contains information about the sf-style commands, which became generally available in July 2023. See this developer blog post for more information about Salesforce CLI sf (v2).
Service automation transforms manual tasks into orchestrated workflows—from intake forms to fulfillment—delivering consistency, scalability, and speed. A Service Process combines Data (records) and Metadata (code and configuration). Migrating a process from Sandbox to Production typically requires manual export and deployment of interdependent components—an error-prone and time-consuming approach that can compromise tested configurations.
This plugin automates the extraction and deployment of Service Process, ensuring faster, safer deployments where the validated golden copy is exactly what reaches Production.Supported Metadata Types
Prerequisite: All other dependencies (for example, Apex used in flows, Unified Catalog content definition whitelisting) must already exist in the target org.
Use this command to install the plugin.
1sf plugins install @salesforce/plugin-service-automationUse this command to install a specific version.
1sf plugins install @salesforce/plugin-service-automation@x.y.zAfter installation, use the sf service-process topic:
1# List Service Processes in an org
2sf service-process list -o YOUR_ORG_ALIAS
3
4# Retrieve a Service Process zip to an org
5sf service-process retrieve -i 0SPxx0000008ABC -o devSandbox -d ./sp-artifacts
6
7# Deploy a retrieved Service Process zip to an org
8sf service-process deploy -z ./service-process.zip -o prodCommands to manage Salesforce DX projects, create and manage scratch orgs and sandboxes, synchronize source to and from orgs, create and install packages, and more.
The -h and --help flags show details about sf topics and their commands.