Sitefinity CMS workflow allows content to require reviewing by a privileged user before publishing. You may want to enforce more complex rules for determining the way an item must be approved. For example, you may want pages under a particular root to be approved by one set of approvers, while the rest of the pages to be approved by the default approvers. You can accomplish this by injecting your own code in the workflow definition to determine the approval workflow for content items.
This tutorial demonstrates how you can override the default workflow when a page is located under particular root pages. The custom workflow in this tutorial, applies the following logic:
You can accomplish this scenario by descending from WorkflowDefinitionResolver and registering you new class with the ObjectFactory.
This class has 2 overridable methods:
You can download the fully functional example from Sitefinity CMS GitHub custom-workflow-definition-resolver.
Back To Top
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important
Copyright © 2019 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.