Artisan IMG > Salesforce (salesforce)

Salesforce Trigger setup

Getting Started

Snippets are pieces of workflows. You can copy and paste them directly into any Tray workflow.

New to snippets? Watch this video

For more details please see our Snippet Documentation

About this Snippet

From version 2.7 and above the Salesforce Trigger will receive trigger events as an 'events' array instead of an object (which could be directly queried).

This means that any attempts to directly query an object with a jsonpath such as $.steps.trigger.Id will fail.

This Snippet provides the best practice setup we recommend when using the Salesforce trigger. Be sure to adapt the record/object type.

This Snippet confirms that each incoming object is processed before continuing with your workflow.

See it in action