Workflow

Drupal 8 Workflow Notifications with Rules Part 3

March 6, 2018
Web Development
Drupal, drupal8, Rules, Workflow

In previous posts I’ve covered enabling and editing a Workflow and then sending an email when a new content moderation state has been saved. In this post we will complete the loop by sending emails when a content moderation state has been updated. In this example an editor will publish the node and the rule will email the node creator to tell them it has been published. Head to the Rules admin page /admin/config/workflow/rules and click Add reaction rule ...

Drupal 8 Workflow Notifications with Rules Part 2

February 20, 2018
Web Development
Drupal, drupal8, Rules, Workflow

In my previous post I talked through setting up Content Moderation with a review state. In this post we will complete the process by sending email notifications via the Rules module when the moderation state is changed. Install Rules # To enable the Rules module we first need to require it via Composer. Run the following from the command line in the root of your project composer require drupal/rules ...

Drupal 8 Workflow Notifications with Rules Part 1

February 13, 2018
Web Development
Drupal, drupal8, Rules, Workflow

For Drupal projects I’ve always used the comprehensive suite of tools provided by Workbench. But when I started a new project and saw that Workflow is hopefully making it’s way into core it felt like a good time to try it out. One part of the project was the addition of notifications when Workflow states were changed. With the Rules module also receiving lots of attention I decided combining the two modules was the best approach. ...