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
DarrellDDarrellD 

Cycling of Subflows Not Allowed

The user enters the flows from a Home Page link, not a VF page.

I have Flow A which has subflow B.

SubFlow B has Subflow C

 

Once someone has completed SubFlow C, I want them to return to Subflow B. When I try this I get the error below.

 

"The Flow has a subflow which returns to a Parent Flow. Cycles of subflows are not allowed."

 

Is there anyway to achieve the above? Because the default behavior brings them back to Flow A, this creates a problem and an error.

I also tried to get creative and throw in Subflow D which someone would go to From C and D would then route them to B but got same error. 

 

Darrell

Rafael Olimpiada 6Rafael Olimpiada 6
Since this is from 2013, throwing this for anyone needing help here. From Subflow B, go ahead and connect the output from Subflow element back into where you want to go. See imageUser-added image
Maria HuemmerMaria Huemmer
In the subflow, remove the "Subflow" element that points to the main flow. The subflow will automatically resume in the main flow once the subflow execution steps are complete.