I have the below List Button URL configured in the Account object.


When I click the button in list view, it should grab all the selected Ids and delete the records.

enter image description here

When I run the flow via button, I am getting the below error.

enter image description here

When I hardcode the Id and test it in the list button URL it works fine. So I am not sure where I am going wrong.

  • Check out this similar implementation done around this scenario. Jun 16, 2021 at 12:48

1 Answer 1


I figured out the issue. In the button URL I don’t need to pass any flow parameters. In the flow, I should have a collection variable called ids. You cannot use any other name other than ids.

Please refer to my blog for complete solution: https://sfdxtips.wordpress.com/2021/06/17/salesforce-tips-19-mass-delete-records-from-list-view-using-flow-2/

  • Hey Krishnamurthy, could you please show how you solved this issue? How does the flow receive the ids from the list view?
    – jdrees
    Mar 4 at 15:36
  • @jdrees I have updated the answer. Please refer to the blog. Mar 5 at 4:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.