Salesforce Fact #139 | Lightning flow custom iteration
We can use loop in lightning flow for our custom iteration also, it does not need to be a collection variable all the time.
We can use a counter variable and check its value in a decision element and based on that we can repeat a certain assignment/step for a particular number of times. In this example, I am checking the counter value and adding an account record to the list until the counter reaches 10.
Attached are the screenshots.
Comments
Post a Comment