Create a Button that Runs an Autolaunched Flow

Administrators can create a button that runs an autolaunched flow. This is useful when you want to create automated processes that are initiated by constituents.

  1. Create an autolaunched flow (external). Autolaunched flows do not contain steps, screens, choices, or dynamic choices in the active or latest flow version. Learn more about autolaunched flows (external).

    To perform DML on the InputSObject(s) in your flow, perform a Fast Lookup to get the record matching the ID, and assign it to a new variable. Then, perform the assignment DML with the variable rather than the the InputSObject(s) directly.

  2. Create a button:
    1. In the Force.com App Menu, select Community Hub Setup.

    2. In the tab bar, click Buttons.
    3. Click New Button.
    4. In Name, enter an easily recognizable term to identify the button using Pascal Case.
    5. In Class, enter NC.DynamicFlowButton.

    6. In Configuration, enter the name of the flow you created.

    7. Click Save.


In This Section