Sometimes, you may need to hard code your Flow ID in Salesforce (for example, to embed a flow in a Chatter action). Do not make any changes to the ManyWhoFlow page. Create a clone of the page, rename it, and save the page, before hard coding the Flow ID.
Here is how to do this:
- Click here to login to your Salesforce org.
- Click Setup.
- Click VisualForce Pages from the Develop menu, and select the ManyWhoFlow page, where you want to hard code the Flow ID.
- You will hardcode the Flow ID where the ManyWho engine is being initialized. Replace the term flowID with the ID of your flow within single quotes (‘). Example: ’15c021f1-884a-4794-8f52-0035f9755063′. (Ln 161 in the picture.) This is what the code looks like:
Once we have made the changes, this is what the code will look like:
- Click Save to save the page.