Kentico CMS 7.0 Developer's Guide

Creating a workflow

Creating a workflow

Previous topic Next topic Mail us feedback on this topic!  

Creating a workflow

Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic!  

Workflow is a sequence of steps that define the life cycle of a document. This allows for setting up a reviewing and approval process to ensure quality of content and design. In such a process, you can specify the roles that different people will play and the places in the flow where the individual people will have influence on a particular document.

 

You can create and manage workflows in Site Manager -> Development -> Workflows.

 

Creating a basic workflow

 

In a basic workflow, one step is followed by another in a direct sequence. A basic workflow cycle of a document starts in the Edit step, which means the document is newly created or that there are yet unapproved changes in the document. After going through the defined approval steps, the document gets into the Published step. At that point the system makes the last version of the document visible on the live site.

 

1. Log in to Site Manager and navigate to Development -> Workflows.

 

2. Click AddWorkflow New workflow.

 

3. Choose a name for the new workflow and type it in the Display name text box.

 

4. Click Save Save.

 

The workflow appears in the list on the Workflows page. Now you can proceed with applying the workflow on documents and creating workflow steps.

 

Creating an advanced workflow

 

Advanced workflow significantly differs from basic workflow in the way how you design the flow of steps. You can let a document go through different steps based on various conditions, you can allow editors to choose which step they want the document to be moved to, or you can set timeouts for automatically moving documents from one step to another.

 

1. Log in to Site Manager and navigate to Development -> Workflows.

 

2. Click NewAdvancedWorkflow New advanced workflow.

 

3. Choose a name for the new workflow and type it in the Display name text box.

 

4. Click Save Save.

 

The workflow appears in the list on the Workflows page. Now you can proceed with applying the workflow on documents and designing the workflow process.

 

Converting a basic workflow to advanced workflow

 

The Workflow page allows you to convert a basic workflow to an advanced workflow.

 

1. Log in to Site Manager and navigate to Development -> Workflows.

 

2. Edit (Edit) a basic workflow.

 

3. If the workflow has the Automatically publish changes property turned on, turn the property off and save the workflow.

 

4. Click SelectConvert to advanced workflow. A message will appear asking if you really want to convert the workflow to advanced workflow.

 

5. Click OK to finish the conversion or click Cancel to return to the workflow editing page.

 

The system converted the basic workflow to an advanced workflow. Also, all the defined steps have been converted into advanced workflow steps.