Delete List Item
How does this activity look in the Designer Pane?
To add this activity to a workflow definition
- Drag it from the Toolbox Pane and drop it in the Designer Pane.
To configure this activity
Select the activity in the Designer Pane to configure the following property boxes in the Properties Pane.
Tokens for Delete List Item
The Delete List Item activity produces the following tokens.
Name | Description | Sample Syntax* |
---|---|---|
List Name | The name of the SharePoint® list the item was deleted from. | %(DeleteListItem_List Name) |
List Item ID | The ID of the deleted list item. | %(DeleteListItem_List Item Id) |
Folder | The folder (if any) the list item was deleted from. This token is be replaced by a fully qualified URL. | %(DeleteListItem_Folder) |
Root | The name of the host Web service. | %(DeleteListItem_Root) |
Was Deleted | Whether the list item was deleted or not. This token can have one of two values: True or False. | %(DeleteListItem_WasDeleted) |
*The "DeleteListItem" portion of the syntax changes to match the activity's name as specified in the Activity Name property box. Note that all non-alphanumeric characters, except underscores, are removed from the name. For example, if you rename the activity Remove!SP* the syntax for the Folder token will be %(RemoveSP_Folder).