Sitecore Workflows and Publishing: From Draft to Live
In Sitecore, editors work in the master database (or authoring environment). Visitors see content from a publishing target — the web database in XP, or Experience Edge in XM Cloud. Workflows control what's allowed to move from draft to live.
Workflow Building Blocks
- States — Draft, Awaiting Approval, Approved
- Commands — Submit, Approve, Reject (move items between states)
- Actions — run on commands: send email notifications, auto-publish, validate
- Final state — items in this state can be published
Example Workflow
Draft --Submit--> Awaiting Approval --Approve--> Approved (final, auto-publish)
--Reject---> Draft
Assign the workflow on template standard values so every new item uses it.
Security in Workflows
Grant permissions per state: authors can submit, approvers can approve. Workflow rights work with item security.
Publishing Modes
- Smart publish — publishes changed items only
- Republish — publishes everything selected (heavier)
- Incremental — publishes items in the publishing queue
- Publish an item with or without subitems and related items
Scheduled Publishing
Set publishing restrictions — valid from/to dates — on items or versions for campaigns and embargoed content.
XM Cloud
Publishing pushes to Experience Edge. Configure webhooks to trigger frontend revalidation after publishing.
Workflows protect your brand; publishing gets content to visitors. Keep both simple enough that editors actually follow them.