Delete List Item

This activity deletes a SharePoint® list item that had been added by a Create List Item activity earlier in the workflow definition. See the tokens this activity produces.

ClosedHow does this activity look in the Designer Pane?

To add this activity to a workflow definition

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).