This action is useful if you want to delete items from a very large list - one that contains thousands of items for example.
There are two methods of deleting items from a list:
Create a control module with a delete flag
In this example we'll create a control module to use in conjunction with a Delete from list using Selection action to delete items from a Products list:
- Create a two-dimensional control module that has the Products list on rows and a single Boolean formatted Delete line item on columns.
- Use the Boolean Delete line item to select which items you want to delete from the Products list:
- Create and configure a Delete items from xxxx Selected using: action:
The Delete Boolean line item used in the Delete Which Products? control module will be available for the Selected using option for the action.
- In Actions under Settings, select the action.
- Click Run:
A confirmation dialog appears telling you how many items will be deleted from the list.
- Click OK. The Delete from list using Selection action executes and deletes the items selected using the Delete line item in the control module:
Plums, Blueberries, and Kiwis have been deleted.
Use a Formula
You can specify which items to delete if you have a module formula which picks list items automatically.
Here's an example of this in the Delete Which Products? control module, used for the Delete line item :
Any list items where it is true that "as" are the last two letters of the name are selected for deletion.