How to Not Process Certain Information into Salesforce
Full transcript
[00:00:05] Hi there, my name's James and in this video I'm going to show you how to instruct remove data to not process certain information into Salesforce.
[00:00:13] So in this example, we have a notification which has produced a recurring donation. And the business logic that we're going to implement is to not create any records in Salesforce if the donation is a recurring donation.
[00:00:26] So we can head on over to flows. We already have a donation mapping flow, which we can open up.
[00:00:32] And the first thing I'm going to do is add a check to see if the donation is a recurring donation. So is recurring donation.
[00:00:51] that will be on the basis of if we look through our execution logs and our parameters, let's type in recurring and we can see that there is a key for the recurring donation.
[00:01:05] So I'm going to go new resource recurring key text input is null false. It's only going to be a recurring donation.
[00:01:18] there is an ID or a key for the recurring donation.
[00:01:23] So if yes, if this is a recurring donation, I want to not process anything into Salesforce So I can go cancel processing and I create a new variable called cancel, which is a special variable.
[00:01:39] It is Boolean available for output. Cancel equals true.
[00:01:48] and I can end my flow here so that cancel is the last thing that runs under those conditions. I'll save and I will activate my flow.
[00:02:01] and I can then head back to my notification and click reprocess.
[00:02:09] And you can see that unlike before, no records are produced. And if we open the execution and scroll down, you can see that there is an entry which says cancel signal received from flow.
[00:02:22] So thanks for watching. That's how to instruct MoveData to not process certain information into Salesforce.
You can prevent MoveData from creating Salesforce records for specific notifications by using a special cancel variable in your Flow. Add a decision element to your existing mapping flow that checks for a condition (such as whether a donation is recurring), then set a Boolean output variable called cancel to true. When MoveData receives this signal, it skips processing entirely and logs "cancel signal received from flow" in the execution log.