Friday, July 23, 2021

WorkFlow

 ØA workflow is a series of predefined states that reflect the work processes and procedures for creating web content in your organization.

ØFor example, your workflow states could correspond to the creation, review, and approval stages that items must go through before they are published on your website.

ØWorkflows enable you to have control over the content approval and publishing process, ensuring that only content that has been approved is published.

ØWorkflows consist of three elements – states, commands and actions.

Workflows

In Sitecore, you can implement any number of different workflows. As a minimum, each workflow must contain two workflow states – the initial and final workflow state. You can only publish an item in a workflow if it is in the final workflow state.

An example of a workflow:

All of the following workflow items are stored in the content tree:

Workflows – the parent item that contains all the subitems that make up the workflow.

States – the basic building blocks of the workflow. The workflow states represent the different stages in your content creation process.

Commands – move content items from one workflow state to another. When the command is executed, the item is moved to the workflow state that is defined in the command item.

Actions – the actions that are automatically performed on the items when they are in particular workflow states or when particular workflow commands are executed.

Demo

Create workflow




Create states





Set the Initial state




Create commands






Set the transition from one state to another




Auto publish action with done state



Defining workflow final state



Assigning workflow to a template




While trying to publish the item






When we delete the next state in the Content editor
























No comments:

Post a Comment

Steps to follow when using a PowerShell script to modify the goals in Sitecore

I have previously utilized PowerShell for item creation, modification, deletion, and presentation details in Sitecore.   Ø Recently, I attem...