Microsoft SharePoint · Arazzo Workflow
SharePoint Provision a List and Seed Its First Item
Version 1.0.0
Create a list only if it does not already exist, read it back, and seed an item.
View Spec
View on GitHub
CollaborationDocument ManagementEnterprise Content ManagementIntranetMicrosoftArazzoWorkflows
Provider
Workflows
provision-list
Idempotently create a SharePoint list, confirm it, and add its first item.
Checks for an existing list by title, creates it when missing, reads the list back to capture its id, and seeds an initial item.
1
checkExisting
getLists
Ask whether a list with this title already exists. This is what makes the workflow safe to re-run; a match short-circuits the create step.
2
createTheList
createList
Create the list. The __metadata type must be SP.List for the SharePoint REST service to accept the entity.
3
readBackList
getListByTitle
Read the list back by title so both branches converge on the same authoritative id, item count, and versioning posture.
4
seedFirstItem
createListItem
Write the first item so downstream readers have real content. The __metadata type is list specific and must match the list's item entity type.