Running your ManyWho flow in Salesforce with a custom Salesforce player

When building flows in ManyWho, it can be useful to quickly test those flows directly inside Salesforce. Normally when you run a flow from the ManyWho Drawing Tool, it loads using our standard ‘default’ UI. Following the instructions below, you can extend the ManyWho Drawing Tool to allow flow builders to quickly and easily run their flows directly inside Salesforce.

Creating the Salesforce Player
  1. Click LOG IN to login to the ManyWho Drawing Tool.
  2. Click Players and click New.
    screen-shot-2016-11-04-at-12-25-40-am-minishadow
    This opens the New Player dialog box.
    screen-shot-2016-11-04-at-12-30-57-am-minishadow
  3. In the Name field, enter Salesforce.
  4. Select default in the Base on menu, and click Save.
  5. Click the Refresh button beside the Select a player to edit combo, to refresh the list of players.
    screen-shot-2016-11-04-at-12-34-19-am-minishadow
  6. Select Salesforce from the Select a player to edit combo.
  7. Copy-paste this code into the editor:
  8. Modify the ‘window.location’ line (Line 39, above) to point to your Salesforce instance.
    screen-shot-2016-11-04-at-12-48-51-am-minishadow
  9. Click Save to save the player.

Selecting the Salesforce player

When running your flow, click Players, and select the Salesforce player, to be redirected to Salesforce to run the flow. Make sure the ‘window.location’ line to points to your Salesforce instance, if you are switching between orgs.

  1. Click the Run button in the right-hand-side navigation.
  2. In the Run dialog box, select Salesforce from the Player list, and click Run.
    screen-shot-2016-11-04-at-1-02-47-am-minishadow

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