---
label: 'Configuring workflows'
related:
- workflows.overview
- content_moderation.changing_states
- core.content_structure
- views_ui.create
---
{% set content_structure_topic = render_var(help_topic_link('core.content_structure')) %}
{% set user_overview_topic = render_var(help_topic_link('user.overview')) %}
{% set user_permissions_topic = render_var(help_topic_link('user.permissions')) %}
{% set workflows_overview_topic = render_var(help_topic_link('workflows.overview')) %}
{% set content_moderation_permissions_link_text %}{% trans %}Content Moderation{% endtrans %}{% endset %}
{% set content_moderation_permissions_link = render_var(help_route_link(content_moderation_permissions_link_text, 'user.admin_permissions', {}, {'fragment': 'module-content_moderation'})) %}
{% set workflows_permissions_link_text %}{% trans %}Administer workflows{% endtrans %}{% endset %}
{% set workflows_permissions_link = render_var(help_route_link(workflows_permissions_link_text, 'user.admin_permissions', {}, {'fragment': 'module-workflows'})) %}
{% set workflows_link_text %}{% trans %}Workflows{% endtrans %}{% endset %}
{% set workflows_link = render_var(help_route_link(workflows_link_text, 'entity.workflow.collection')) %}
{% trans %}Goal{% endtrans %}
{% trans %}Create or edit a workflow with various workflow states (for example Concept, Archived, etc.) for moderating content. See {{ workflows_overview_topic }} for more information on workflows.{% endtrans %}
{% trans %}Who can configure a workflow?{% endtrans %}
{% trans %}Users with workflows permissions (typically administrators) can configure workflows. See Permissions > {{ workflows_permissions_link }} to configure workflows permissions.{% endtrans %}
{% trans %}Steps{% endtrans %}
- {% trans %}Make a plan for the new workflow:{% endtrans %}
- {% trans %}Decide which workflow states you need; for example, Concept, Review, and Final.{% endtrans %}
- {% trans %}Decide on the settings for each state:{% endtrans %}
- {% trans %}Label: the state name{% endtrans %}
- {% trans %}Published: if checked, when content reaches this state it will be made visible on the site (to users with permission).{% endtrans %}
- {% trans %}Default revision: if checked, when content reaches this state it will become the default revision of the content; published content is automatically the default revision.{% endtrans %}
- {% trans %}Decide which state content should be created in.{% endtrans %}
- {% trans %}Decide on the list of allowed transitions between states. For example, you might want a transition between Concept and Review. Each transition has a label; for example, the Concept to Review transition might be labeled "Review concept".{% endtrans %}
- {% trans %}Decide which roles should have permissions to make each transition; see {{ user_overview_topic }} for an overview of roles and permissions.{% endtrans %}
- {% trans %}Decide which entity types and subtypes the workflow should apply to. Only entity types that support revisions are possible to define workflows for. See {{ content_structure_topic }} for more information on content entities and fields.{% endtrans %}
- {% trans %}To implement your plan, in the Manage administrative menu, navigate to Configuration > Workflow > {{ workflows_link }}. A list of workflows is shown, including the default workflow Editorial that you can adapt.{% endtrans %}
- {% trans %}Click Add workflow.{% endtrans %}
- {% trans %}Enter a name in the Label field, select Content moderation from the Workflow type field, and click Save.{% endtrans %}
- {% trans %}Verify that the States list matches your planned states. You can add missing states by clicking Add a new state. You can edit or delete states by clicking Edit or Delete under Operations (if the Delete option is not available, you will first need to delete any Transitions to or from this state).{% endtrans %}
- {% trans %}Verify that the Transitions list matches your plan. You can add missing transitions by clicking Add a new transition. You can edit or delete transitions by clicking Edit or Delete under Operations.{% endtrans %}
- {% trans %}Under This workflow applies to:, find the entity type that you want this workflow to apply to, such as Content revisions, Content block revisions, or Taxonomy term revisions. Click Select.{% endtrans %}
- {% trans %}Check the entity subtypes that you want to apply the workflow to. For example, you might choose to apply your workflow to the Page content type, but not to Article.{% endtrans %}
- {% trans %}Click Save.{% endtrans %}
- {% trans %}Under Workflow settings, select the Default moderation state for new content.{% endtrans %}
- {% trans %}Click Save to save your workflow.{% endtrans %}
- {% trans %}Follow the steps in {{ user_permissions_topic }} to assign permissions for each transition to roles. The permissions are listed under the {{ content_moderation_permissions_link }} section; there is one permission for each transition in each workflow.{% endtrans %}
- {% trans %}Optionally (recommended), create a view for your custom workflow, to provide a page for content editors to see what content needs to be moderated. You can do this if the Views UI module is installed, by following the steps in the related Creating a new view topic listed below under Related topics. When creating the view, under View settings > Show, select the revision data type you configured the workflow for, and be sure to display the Workflow State field in your view.{% endtrans %}