Customizing the Flow user interface

To customize the Flow user interface, first of all, you have to embed the Flow into a Visualforce page. Create a Visualforce page and embed your Flow (Displaying feedback form based on age) into it, as shown in the following code:

<apex:page> <br/> <Center> <Font size ="6" color ="gold">Customer Service Feedback Form </font> </Center> <br/> <flow:interview name="Displaying_feedback_form_based_on_age"/>  // Flow interview component is used to embed Flow in a Visualforce  Page. Displaying_feedback_form_based_on_age is Flow Unique Name. </apex:page>

It will display the embeded survey form into the Visualforce page and look like what is shown in the following screenshot:

Flow allows you to modify the user ...

Get Learning Salesforce Visual Workflow and Process Builder - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.