Hard coding the Flow ID in Visualforce

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:

  1. Click here to login to your Salesforce org.
  2. Click Setup.
    screen-shot-2016-11-15-at-6-31-06-pm-minishadow
  3. Click VisualForce Pages from the Develop menu, and select the ManyWhoFlow page, where you want to hard code the Flow ID.
    screen-shot-2016-11-16-at-12-11-40-am-minishadow
  4. 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:
    screen-shot-2016-11-16-at-12-13-48-am-minishadow
    Once we have made the changes, this is what the code will look like:
  5. Click Save to save the page.

Check out the glossary for a definition of terms and key concepts that appear in the Boomi Flow website, Drawing Tool, technical documentation, blogs, and marketing communications.

If you need to take a closer look, click on the images to enlarge them. Have a question? Click the Help button on the bottom right-hand corner of this page to ask.