Practical scenario – failed flow example
I purposely introduced a few errors in the flow so that we could review and get a good understanding.
Scenario: When the lead is updated to status = Working-Contacted and annual revenue is greater than $1 million, create a contact. We need to add a required field called security on contact via flow, and it should be 10 characters. We will hardcode this value in the flow for testing different variants.
Create a record-triggered flow with two conditions: status = Working-Contact and annual revenue greater than 1 million.
This triggered flow runs immediately when the preceding conditions are met and a lead is updated. See Figure 8.8:
Figure 8.8 – Record-triggered flow: Lead to Contact flow
Start the interview flow by clicking on Debug. This opens the Debug flow window; see Figure 8.9. The flow runs immediately and in rollback mode. This means that the flow debug process ensures that when the...