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
duubduub 

Subflow within a flow but called from a visual force page from a Site

Hi.

 

I get the error "page not allowed for profile" as soon as the flow connects to the subflow. So I have tested

the following:

 

1. I can run the flow from the latest verison and the subflow works from the master flow

 

2. I can run from the VF page via salesforce i.e. /apex/vfpage and this also runs the subflow.

 

But if I run from the site I get an error, have tried declaring the subflow as an additional interview:

 

public Flow.Interview.ITDB_Test itdbFlow { get; set; } (master flow)
public Flow.Interview.Test1 itdbFlowTest { get; set; } (subflow) - same error with or without this line.

 

The subflow has no variables, is just a screen display and there are no variables passed to the

subflow from the master flow.

 

 

What is the problem here? is there a subflow syntax for the controller that I am missing?

 

 

RajaramRajaram
Make sure the subflow is active.
duubduub
Yep, also checked this as well, subflow is active and good to go.
RajaramRajaram
Lets take a step back..
1. Have been able to get any flow working in sites?
2. If you have a version of the flow without subflows, is it working?