Approval workflow
One of the most powerful features of Exponential 3 is that you can create custom workflows.
Workflow is a mechanism implemented to give you the possibility to customize or add new features
to operations in Exponential. Exponential 3 already has the workflow events needed to create a
publishing approval workflow.
The workflow we will create will allow you to set up approval of object publishing in some places of your site,
for certain user groups. It consists of an "Approve" event. The "Approve" event creates a collaboration item
when it runs, the collaboration item will link the author and the approver together were they may discuss
the content object and the approver will then decide what to do with it.
To set up an approval workflow you need to do next tree steps:
- Create the workflow
- Setup workflow parameters
- Connect the workflow to the operation
Create the workflow
To create the new workflow you need to get into one of the workflow groups and click "New" there. It will create a new workflow and redirect you to an edit page. There you should fill in the "name" text entry with the name of your workflow, something like "Approval by editor", it is up to you. After that select Event/Approve from the drop down and click "New". Now you have created the necessary workflow.
TODO — Image not available in archive
Title: Image: workflow_approve1.png
File: /doc/images/workflow_approve1.png
What this image shows:
Image from original ez.no documentation. Context: editor", it is up to you. After that select Event/Approve from the drop down and click "New". Now you have created the necessary workflow.
Connect the workflow to the operation
Go to the "Triggers" list and select the newly created workflow from the dropdown list on the content - publish - before
line.
TODO — Image not available in archive
Title: Image: triggers.png
File: /doc/images/triggers.png
What this image shows:
Image from original ez.no documentation. Context: on Go to the "Triggers" list and select the newly created workflow from the dropdown list on the content - publish - before line. [image markup removed]
Replacement instructions:
Locate original source and save as /doc/images/triggers.png
See /sdk/missing.html for the full list of missing images.
Click the "Store" button. Now the workflow is connected to the operation.
|