--- 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 = render_var(url('user.admin_permissions', {}, {'fragment': 'module-content_moderation'})) %} {% set workflows_permissions = render_var(url('user.admin_permissions', {}, {'fragment': 'module-workflows'})) %} {% set workflows_url = render_var(url('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 the Administer workflows permission (typically administrators) can configure workflows.{% endtrans %}

{% trans %}Steps{% endtrans %}

  1. {% trans %}Make a plan for the new workflow:{% endtrans %}
  2. {% trans %}To implement your plan, in the Manage administrative menu, navigate to Configuration > Workflow > Workflows. A list of workflows is shown, including the default workflow Editorial that you can adapt.{% endtrans %}
  3. {% trans %}Click Add workflow.{% endtrans %}
  4. {% trans %}Enter a name in the Label field, select Content moderation from the Workflow type field, and click Save.{% endtrans %}
  5. {% 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 %}
  6. {% 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 %}
  7. {% trans %}Under This workflow applies to:, find the entity type that you want this workflow to apply to, such as Content revisions, Custom block revisions, or Taxonomy term revisions. Click Select.{% endtrans %}
  8. {% 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 %}
  9. {% trans %}Click Save.{% endtrans %}
  10. {% trans %}Under Workflow settings, select the Default moderation state for new content.{% endtrans %}
  11. {% trans %}Click Save to save your workflow.{% endtrans %}
  12. {% trans %}Follow the steps in {{ user_permissions_topic }} to assign permissions for each transition to roles. The permissions are listed under the Content Moderation section; there is one permission for each transition in each workflow.{% endtrans %}
  13. {% 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 %}