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.

Trigger Process Rules

Use the Process Rules resource to trigger process rules. All rules associated with the specified ID will be evaluated, regardless of the evaluation criteria. All IDs must be for records on the same object.

Example usage

1curl https://MyDomainName.my.salesforce.com/services/data/v67.0/process/rules/ -H "Authorization: Bearer token" -H "Content-Type: application/json" -d @rules.json"

Example request body rules.json file

1{
2  "contextIds" : [
3    "001D000000JRWBd",
4    "001D000000I8mIm",
5    "001D000000I8aaf"]
6}

Example JSON response body

1{
2  "errors" : null,
3  "success" : true
4}