0

How do I add a custom visualforce page in a visual flow project?

I have the following code:

Visualforce page:

    <apex:page controller="DeliveryDocumentVisualFlowController">
        <flow:interview name="Wizard_Delivery_Document" interview="{!myFlow}">
        <h1>Test</h1>
    </apex:page>

I cannot see this custom visualforce page in my visual flow. The only way I can see it is indirectly, meaning, I need to use a controller and set the annotation @InvocableMethod.

I hope there is another way.

  • Do you mean being able to diplay the visual force page within the flow by getting to it from the flow builder? – Dave Humm Mar 16 '17 at 12:07
  • Yes, that is correct. – Cuban coffee Mar 16 '17 at 13:12
1

It is not possible to add a Visualforce page within a flow, e.g. there is no way to see it as an option in the Flow Builder. The only method to switch to visualforce is using a page as a wrapper for the flow and passing control to it by setting a variable value within the flow, which there is an example of here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.