Delete item action allows deleting an item from the list or library dynamically. When the Delete Item action is executed, the item with the specified ID is deleted immediately.
Example of Delete Item action configuration
For more information about Action Builder read Action Builder introduction article.
When action type Delete item is selected, the following additional properties should be specified:
Configuration
| Property | Required | Type | Description |
| List or library | yes | Choice | The list/library where an item should be deleted. It is possible to select: - from the current site, by selecting the 'On current site' option and specifying an available list/library on the site. - from any site, by selecting 'On any site' option, choosing the site in the drop-down or typing a server relative URL to the site and then selecting a list or library in 'List or Library' drop-down |
| Use dynamic url to the target SharePoint list | no | Choice | Available when using option 'On any site'. Allows you to dynamically set the target list URL |
| Dynamic list url | yes | String | Specify the target list or library URL (expression enabled value). The item will be deleted from this list or library |
| List Item Id | yes | Integer | ID or expression to be evaluated as the ID of an item. Expression-based values for these fields can be easily set using the placeholders available in Expression Builder. |
| Move to recycle bin | no | Boolean | The option is checked by default. If you want to permanently delete item without possibility to recover this option should be unchecked |
Availability
| Modern Forms | List Actions | Scheduled/Triggered Actions |
| ✓ | ✓ | ✓* |
* In Scheduled/Triggered actions delete item on the list/library only from the current site is available.
Output
Output for this action is not available