March 5, 2020

How to call Flow from related list Button in Salesforce Lightning?

1. Create a Flow.

2. Get the Flow URL.

3. Create a List Button with URL and use the Flow URL.


4. Add the List Button to the related list in the Parent object page layout.


Output:


2 comments:

  1. can we pass parameter/attribute to flow from the related list?
    And can the flow is not rendering properly. Any way to define that.

    ReplyDelete
    Replies
    1. Yes. Check this - https://help.salesforce.com/articleView?id=flow_distribute_internal_url_variable.htm&type=5

      Delete