11-05-23 03:47 AM
The logic like following picture, is there a mistake in logic. Does this not meet BP Best practices.
I think the logic like the break function on for each loop on the VB code.
11-05-23 04:00 AM
HI Kimora Xu,
Loop end stage will be present after the Calculation stage which named as Email receiver . SOme thing like below screenshot.
The one you shared in the screenshot will just start the loop and navigate to the set email receiver calculation stage and end the page.
11-05-23 04:08 AM
Hi Harish
thank you for you answer, and I only need the first row about collection, I know we have another way to write this logic, what I want to ask is whether there is an error in my previous logic. Does this not meet BP Best practices.
11-05-23 04:32 AM
Hi Huan XU - There is no error in the logic if the intended result was just reading the first row in the collection and the only thing I would add was renaming the loop stage instead of generic name Loop Output stage.
Naming convention - Looks good ( If you change the loop stage from generic name to. something relevant.)
Aesthetic - looks good proper spacing between the stages
Other thing I would add was use Note stage indicating you want to read the first row from the collection and skip all the rows
Just used the same collection name you have shared the screenshot for better understanding.
------------------------------
-----------------------
If I answered your query. Please mark it as the "Best Answer"
Harish M
Lead developer
America/New_York TX
------------------------------