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.
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.
- Create a button:
In the Force.com App Menu, select Community Hub Setup.
- In the tab bar, click Buttons.
- Click New Button.
Name, enter an easily recognizable term to identify the button using Pascal Case.
Configuration, enter the name of the flow you created.