Defining a workflow |
Workflow settings can be managed in Site Manager -> Development -> Workflows.
The workflow you create in this chapter will be used for all examples in the next chapters. It will look like this:
Creating testing users and roles
Before we configure the workflow, we will create testing users. Go to Site Manager -> Administration -> Users and click New user. Create a new user with following details:
Go to the Sites tab and assign the user to the appropriate web site. Go to the Roles tab and assign the user to the CMS Editors role of the given web site.
Create another user with following details:
Go to the Sites tab and assign the user to the appropriate web site. Go to the Roles tab and assign the user to the CMS Editors role of the given web site.
Go to Site Manager -> Administration -> Roles, choose the appropriate site from the top drop-down-list and click New role. Enter the following details:
Switch to the Users tab and add user Bob Johnson to this role.
As you can see, Alice is the news editor (because of the CMS Editors role) and Bob is the PR Manager who will approve the news (PR Managers role) and can also edit the news (CMS Editors role).
Defining a new workflow
Go to Site Manager -> Development -> Workflows, click New workflow and enter the following values:
Click OK to create the workflow.
Defining workflow steps
Choose the Steps tab and create a new workflow step:
Click OK and choose the Roles tab in the Workflow properties dialog. Choose the appropriate web site in the drop-down list and select the PR Managers role and click OK. Now the PR Managers are authorized to edit, approve and reject documents in the newly created step.
When you see the list of workflow steps now, it looks like this:
As you can see there are always three default steps:
As you can see, the custom steps are placed between the Edit and Published steps. You can change the order of the steps using the up/down arrows (if there's more than one custom step).
Defining workflow scope
The workflow scope defines which documents the workflow should be applied to. Switch to the Scopes tab, choose the appropriate web site from the drop-down list and click New workflow scope. Enter the following details:
Click OK.
We have configured the workflow process for the news documents. In the next chapter, you will learn how the workflow works in our sample scenario.
|