Chapter 5. Content validation

Table of Contents

5.1. Submitting a document to an approbation workflow
5.2. Approving a document

Nuxeo EP documents have a life cycle composed of the following states:

The life cycle state determines which actions are available on the document. For instance, publication can be available only for approved documents.

To change the life cycle state of a document, you need to do specific actions, for instance you need to submit the document to a workflow. There are three different workflows:

Only the approbation workflow enables you to change the life cycle state of a document.

5.1. Submitting a document to an approbation workflow

The submission of a document to a workflow is made of two steps:

  1. the definition of the workflow's properties,

  2. the declaration of the users who participate to the workflow.

To create an approbation workflow:

  1. Click on the document name to open it.

  2. Click on the Workflow tab.

  3. Fill in the workflow properties form.

  4. When done, click on the Start button.

    You now need to add reviewers to the workflow.

  5. Fill in the reviewer declaration form to add a reviewer and click on the Add button.

    The user is added on the workflow's roadmap.

  6. Repeat step 5 as many times as you need to declare all the reviewers.

  7. When done, click on the Start the workflow button.

    The workflow participants can now approve the document.

5.2. Approving a document

When you submit a document to a workflow, you assign users to this workflow and give them a directive to validate the document. The documents the users need to review are listed in their dashboard. When all the users have approved the document, the workflow is automatically terminated and the document automatically gets into the output life cycle state defined upon workflow creation.

To approve a document:

  1. Click on the Dashboard link in the upper right corner of the page to open your dashboard.

  2. In your dashboard, click on the document's name to open it.

    You arrive on the Workflow tab.

  3. Type a comment and click on the Approve link.

    The next reviewer becomes the current reviewer and has to approve the document.

When all the reviewers have approved the document, the workflow is automatically terminated and the document gets into the output life cycle state you defined when you started the workflow.