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
theDtheD 

launch flow from salesforce1 detail

I have a button on a standard page that launches a flow and passes in id and name from the contact detail page from std controller

/apex/pages/MyFlow?vId={!Contact.Id}&cName={!Contact.Name}

How can I do the same in Salesforce1 mobile?
 
kgilkgil
Hey theD,

Flows can be launched via a Visualforce action that is included in the Salesforce1 Action Bar layout. Create a simple Visualforce page using this article as an example:
https://help.salesforce.com/apex/HTViewHelpDoc?id=vpm_distribute_internal_vf.htm&language=en_US

Then ensure an action is created that uses this Visualforce page as the source and include it on the page layout in the action bar. Flows are not formatted or supported for mobile devices but it most cases they work just fine. Another good point is to define the finish behavior so you can redirect the user back to the record or elsewhere as needed:
https://help.salesforce.com/apex/HTViewHelpDoc?id=vpm_distribute_internal_vf_finish.htm&language=en_US