+ Start a Discussion

flow in vf page not working on site


I've created an elaborate flow for the purposes of collecting information from new clients. Now that I finally have the flow working exactly the way that I want it to... I created a VF page that utilizes a vf page template, and in the defined section "body" I've added the following

<flow:interview name="flowname"/>  Which is between the <apex:define name="body"/> </define> tags

I've added the vf page/template to my sites vf pages list.
I've added both to the guestuser as well

When I lauch the new vf page on the site, I see the first "Intro" page of the flow. But as soon as I select "Next" to begin going through the flow I get:
Authorization Required
You must first log in or register before access this page.
If you have forgotten your password, click Forgot Password to reset it.

What am I missing here...

I've invested the last 45 days building this elaborate flow, and management is expecting this to be rolled out yesterday... Can anyone help me understand why this isn't working...

I started this following the dreamforce session where it was made very clear that a flow could be used in this manner, which is why I've invested the time to build it... Now that it's built, I can't get it to work...  Panicing... Please help!!!
I figured it out...  I had cloned a vfpage that had structure i needed, but it was pointing to a custom controller, once i changed to the standard controller for the custom object, it worked... Schewwww!
Chandra PrakashChandra Prakash
Hi Mitch,

please check below link if help full.

Chandra Prakash Sharma
Chandra PrakashChandra Prakash
Hi Mitch,

First you need to create flow. for creating flow go following steps.
For Create <flow :interview> component
Go to the flow list page.
Setup > Create > Workflow & Approvals > Flows, Click on New Flow button for creating flow.
After create flow . you can use here flow name.

Example : i create flow  ' Firstflow '
<apex:page >
    <h1>Congratulations!</h1> This is your new page.
    <flow:interview name="FirstFlow" />

User-added image

Chandra Prakash Sharma
Bisp Solutions Inc.