Features: Bulk Select vs. Data: execute an action on a set of rows

In this weeks Feature Friday we released the top features of 2019. Two of the items included are often assumed to be the same feature but we wanted to break down them down to help understand what they are and how to use them.

What are they?
When you need to select more than one record at a time in your application you can use either of these features, but they do work in different ways.

Bulk select is an action that allows you to scroll through the view highlighting the rows where you want to apply a normal action. The bulk select method is a manual approach to selecting multiple items. For an automated version of this action use data: execute an action on a set of rows. With this approach, an expression selects the rows instead your apps users.

Where do I set up these features?

To use Data: execute an action on a set of rows

To use this action there are a few items you’ll need to become more familiar with. First, review the “Changing Multiple Data Values in Another Table” section in this document on Changing Data from a Workflow Rule. Second, review the SELECT() expression. Understanding how both elements work in concert with each other will allow you to execute this feature quickly to help you scale your process.

To use bulk select:

  1. Enter selection-mode by pressing the select button on a Table, Deck, or Gallery view that has one or more actions (Data > Actions in the app editor) or that allows users to delete records. Alternatively, you can long-press any row to activate selection-mode.
  2. Once in selection mode, tap on some rows to select them. As you select rows, actions will appear on the top right corner of the screen. Note: only actions that are valid for all selected rows will appear.
  3. Finally, tap an action to update all the selected rows. If the app has delayed sync enabled, the changes will be queued, otherwise a sync will be triggered.

You can see how this works in real time with this sample application:

3 Likes

Great feature! Saves a lot of time to execute an action on a set of rows.
I am trying to use the automated version of this action using “Data: execute an action on a set of rows”.
It worked fantastic until last Friday…
Currently not working, not sure why…
The manual approach works great.