Before Spring 21, if we need to compare between prior and new values before running the business processes, we need to rely on either Process Builder or Trigger. But with the introduction of Spring 21 release, now we can do this comparison right inside flow builder and take actions accordingly.
In this post, I will use this feature to implement a basic use case. I also put a short video here explaining the steps.
Use Case
Here comes the use case which I will be implementing using flow.
Step 1
In the Choose Object screen, select -
Create the decision where -
Add the assignment for Greater to update the rating to HOT.
Step 6
Add the assignment for Less Than Equal to update the rating to NORMAL.
Final
Below is how the flow will look like finally -
I hope this blog post will help to understand how to use this new feature in your flow.
Below is the video where I have created this flow step-by-step.
Video Link: https://youtu.be/auTFTb2exhw
0 Comments