Module Description
This module enables you to create arbitrary Workflows, and assign them to Entities.

Workflows are made up of workflow states. Transitions between states can be allowed per role. For example, a workflow with the states Draft, Review, and Published could be assigned to the Story node type. Only users with role 'chief editor' can set Stories to the published state. You can set up the Workflow to alter states from form, page, comment, a special block, and a special workflow tab. Additionally, the submodule Workflow Access allows you to manage view/edit/delete permissions for content types per User role and Workflow state.

Transitions between workflow states can have actions assigned to them. In our example, we could assign an action so that when the story moves from the Draft state to the Review state an email is sent out. Another action could be assigned to the transition from Review to Published so that the node's status is set to Published (and becomes visible on your website).

Documentation resources A fantastic 45-minutes in-depth Drupal 9 Youtube Instruction video overview is published by saranya ashokkumar.

A - somewhat older - nice overview is published by Michael J. Ross in Drupal Watchdog. More detailed info can be found at the Workflow documentation page. You can update that page yourself, with anything you have learned when implementing this module. If you are interested in the future of the workflow module, please join the workflow group on groups.drupal.org.

Developer notes: If you are upgrading your custom, Workflow supporting, module please review the available functions and check the change records. The D8-version has renamed hooks and function names, to align with D8 practices. Check the file workflow.api.php for explanation of each hook.

Drupal 8 version A new and shiny Drupal 8 version is available. The functionality is mostly identical to version 7.x-2.5. Some permissions have been moved to the 'normal' permissions page.

There is still lots to do, and any help is much appreciated. See the list of open tasks or the Kanban Board.

Drupal 7 versions To find the new features in D7 versions, see the page with New features in D7 version

Related Projects

* Workflow Extensions compatible with version 7.x-1.x. Its functionality is incorporated in version 7.x-2.x. Disable when upgrading from 1.x to 2.x.
* Workflow Fields now compatible with Workflow 7.x-1.2. There is an open issue for compatibility with 7.x-2.x
* Workflow Named Transitions compatible with version 7.x-1.x. Its functionality is incorporated in version 7.x-2.x. Disable when upgrading from 1.x to 2.x.
* OG Workflow

Project Usage
7595
Creation Date
Changed Date
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module enables the creation of arbitrary Workflows and assignment to Entities, allowing for the management of workflow states and transitions with assigned actions and permissions per role and state.
Data Name
workflow

OPENAI CHATBOT

OPENAI CHATBOT

06:56:06
Generic Chatbot
Hi, I'm a Drupal module expert powered by OpenAI, answering your questions about the Drupal module ecosystem. How can I be helpful today? Please note that we will log your question.