Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Get a Process Rule for an sObject
Cross-object workflow rules can’t be invoked using REST API.
URI: /services/data/vXX.X/process/rules/sObjectName/workflowRuleId
Available since release: 30.0
Formats: JSON, XML
HTTP methods: GET
Authentication: Authorization: Bearer token
Request parameters: None required
Example usage
1curl https://MyDomainName.my.salesforce.com/services/data/v67.0/process/rules/Account/01QD0000000APli -H "Authorization: Bearer token"Example request body: None required
Example JSON response body
1{
2 "actions" : [ {
3 "id" : "01VD0000000D2w7",
4 "name" : "ApprovalProcessTask",
5 "type" : "Task"
6 } ],
7 "description" : null,
8 "id" : "01QD0000000APli",
9 "name" : "My Rule",
10 "namespacePrefix" : null,
11 "object" : "Account"
12}