function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Swapnil GuravSwapnil Gurav 

Flow return to input screen after loop

I am going through Process Automation Specialist Superbadge. I am completing this Superbadge on completely new Playground. I have created a flow which iterates through Product2 object and add Product2 names in Collection variable. I want to diplay all Product2 names after loop but my flow goes back to input screen instead of diplaying results.

1. Input screen : User selects type of bot (from Radio button) and choice is stored in Select_a_Bot field.
2. Fast Lookup : This lookup searches Select_a_Bot field in Product2 object and store list of products in ProductList SObject collection variable of type Product2. If I try to diplay ProductList variable it displays only Product IDs not names. So I used loop to fetch names.
3 and 4. Loop and Assignment : Loop iterates through ProductList SObject Collection variable and Assignment operation addsProduct name in OutputCollection which is Collection variable of type Text.
5. Output Screen : Here I'm displaying Output Collection values.

My flow doesn't go to Output screen. When I make selection on Input screen and click on next it goes back to Input screen. Please provide your suggestions to solve this.

Thank you.
Issue in Flow
Best Answer chosen by Swapnil Gurav
Swapnil GuravSwapnil Gurav
I finally solved this issue. I connected Assignment block back to Loop i.e. bi-directional arrow between Loop and Assignment. 

Flow Issue Solved