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

Triggers all active workflow rules. All rules associated with the specified ID are evaluated, regardless of the evaluation criteria. All IDs must be for records on the same object. This resource is available in REST API version 30.0 and later.

Syntax

URI: /services/data/vXX.X/process/rules/

Formats: JSON, XML

HTTP methods: POST

Authentication: Authorization: Bearer token

Request parameters: None required

Request body

The request body contains an array of context IDs:

Name Type Description
contextIds ID[] An array of IDs of the items that are being acted upon.

Example

See Trigger Process Rules.