This tutorial refers to the use of the lifecycle functionality only. If you are using Nuxeo DM 5.6 or higher, you might wish to learn about the workflow functionality by following the simple workflow example tutorial.
Nuxeo DM provides out of the box validation workflows that can do the job in many cases. Using the default user interface features, you, as the process launcher, select some participants and then start the workflow. Yet, it happens sometimes that you don't want to let to people the choice of who the participants will be, i.e. who the validator(s) will be. To implement that case in a nice way, you can use Nuxeo Studio.
In this tutorial we will implement a chained workflow, that enables to validate a document in one step. We will make sure to store a few important dates on the document and we will log important steps into the document's history. Also, we will make sure that during this workflow, people receive consistent email notifications.
Technically, in this tutorial, you will learn how to:
- Declare a new permission (using an XML extension)
- Declare a new button
- Bind that button to a chain that assigns a validation task
- Create the validation logic
- Define what happens in case the document is rejected.
Start the tutorial: