Microsoft SharePoint · Arazzo Workflow
SharePoint List Item Full Lifecycle
Version 1.0.0
Create, read, update, verify, and delete a list item as an end-to-end conformance run.
View Spec
View on GitHub
CollaborationDocument ManagementEnterprise Content ManagementIntranetMicrosoftArazzoWorkflows
Provider
Workflows
list-item-lifecycle
Exercise create, read, update, re-read, and delete against one list item.
Creates a throwaway item, reads it, updates its title, verifies the update took effect, and deletes the item.
1
createItem
createListItem
Create the throwaway item that the rest of the lifecycle operates on.
2
readCreated
getListItemById
Read the item straight back and assert it carries the title it was created with, proving the write is durable and not merely accepted.
3
updateItem
updateListItem
Update the item's title. SharePoint answers this write with 204 and no body, which is exactly why the next step re-reads rather than trusting it.
4
verifyUpdate
getListItemById
Re-read the item and assert the updated title actually landed. This is the assertion that makes the lifecycle a real test rather than a sequence of hopeful calls.
5
deleteItem
deleteListItem
Clean up the throwaway item. In SharePoint this moves the item to the site's recycle bin, so the run leaves a recoverable trace rather than a hard deletion.