Salesforce Record Triggered flows as of Spring21 do not let admins to debug on the canvas when you click on the debug button.

Use Case
On opportunity product deletion we want to update a field on the opportunity record. To solve this you can create a record triggered flow which will trigger when a record is deleted.

salesforce flow

Since record triggered flow cannot be debugged like other flow types just by clicking on the debug button, there is way to do this.

Learn Salesforce Flows from the very basic to the advanced.


Validation Rule
Make sure you are doing all this in a sandbox.

Create a validation rule on opportunity to make sure that the flow update action is challenged by this validation and you get an error.
This will trigger an email with the details of the flow and a special link.

Now when you click this link you will be taken to the same flow but in a debug mode which will show you the path your flow has taken during its execution and the details as well.

Learn Salesforce Flows from the very basic to the advanced.


0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *