Definition and Usage
Remove all items in the list. This command allows you to empty a list variable by removing all its elements, effectively resetting the list to an empty state.
Parameter Values
Input parameters
Parameter | Description | Possible Values | Required | Options / Notes |
List | Select a list variable to remove its items | Any list variable | Yes | The variable must be a list type |
Error handling
Parameter Name | Description |
Throw error & stop | When an error occurs, the action will trigger an error and stop the execution of the entire app. |
Retry command | If an error occurs, the action will retry the command in an attempt to resolve the issue and continue the process. |
Ignore error & continue | When an error occurs, the action will be ignored, and the workflow will continue without interruption. |
Variables produced
This action doesn't produce any variables.
Using Variables in Conditions
This command allows you to use variables as input by clicking the {x} button next to the parameter field. You can insert previously created list variables to be cleared. When using variables, ensure that the variable you're referencing is a valid list type, otherwise an error may occur during execution.
Notes
The list must exist before using this command, otherwise an error will be thrown.
This operation cannot be undone, so ensure you no longer need the list items before clearing them.
This command is useful when you need to reuse a list variable but want to start with a fresh, empty list.
After clearing, the list will have zero elements but will still exist as a valid list variable.