Skip to main content

Cancel Processing

James Gilray avatar
Written by James Gilray
Updated over 2 months ago

There may be times when you do not want your integration to process information into Salesforce. In this scenario, you can create a decision to filter for the relevant condition and set Cancel to True.

Create Variable

Open Toolbox and click New Resource. Create a new resource with the following information:

Item

Value

Resource Type

Variable

API Name

Cancel

Data Type

Boolean

Available for Output

True

Assign Value

In your Flow click the + icon to add a new Element and select Assignment. Configure your assignment with the following information:

Item

Value

Label

Cancel Processing

Variable

Cancel

Operator

Equals

Value

True

Other Remarks

Running Cancel will cancel processing of all Salesforce records associated with the decision criteria you are cancelling on. For example, if you run Cancel on the basis of a donation being of a certain type, then the record representing the donation will not be created (i.e. Opportunity / Gift Transaction) as well as any other related records (for example, the record representing the donor i.e. Contact / Person Account).

Did this answer your question?