Skip to main content

BPA Command needs to support bulk execution

  • July 15, 2024
  • 2 replies
  • 143 views

paul harland
Superhero (Employee)
Forum|alt.badge.img+24

We can create a BPA workflow and then use Page Designer to create a command button that calls the BPA.

This currently only works when exactly 1 record is highlighted in a list - if highlight more than one, the button disappears.

It needs to be enhanced to support bulk execution i.e. highlight multiple rows and the BPA will be run individually for each row.

2 replies

paul harland
Superhero (Employee)
Forum|alt.badge.img+24
  • Author
  • 547 replies
  • July 15, 2024

reposted as an idea.

 

 


Forum|alt.badge.img+6
  • Sidekick (Customer)
  • 19 replies
  • August 14, 2024

@paul harland Hi Paul, FYI I think I came up with a hacky workaround for this exact problem. I created a SQL package/method that’s sole job is to flip a boolean custom attribute to ON for the record. Then I added a command button to call the package (which can be done in bulk), and a custom event/action to fire the BPA when that attribute changes. The BPA flips the custom attribute back OFF at the end of its execution.