Actions do not conform to Workflow settings

systechguy - October 5, 2009 - 16:12
Project:Workflow
Version:6.x-1.1
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Platform (Drupal 6, Fedora 10, MYSQL 5.1.37, php 5.2.10)

I am following the example for Workflows in the "Using Drupal" Oreilly Book, page 209. My problem is that actions are being fired (emails) that shouldn't fire based on what I have set up in the Workflow "States".

As the book describes, I have set up 3 Actions / Trigger events.

Action/Trigger:

1. Notify editor (email) / Saving a New Post
2. Placate editor (email) / Saving a New Post
3. Agitate author / No Trigger

I have also set up the following Workflow states:

3 states:

1. Draft
2. Review
3. Approved

And here are the following Actions to take when transition states are change:

1. When story moves from Creation to Review / Notify editor and Placate author
2. When story moves from Draft to Review / Notify editor and Placate author
3. When story moves from Review to Draft / Agitate author
4. When story moves from Review to Approved/ Publish Post and Save Post

There is NO Action assigned to the Trigger where it says "When a story moves from Creation to Draft"

However, as a normal authenticated user, when I create a story that is just in the "Draft" state, an email is sent to the editor that has the "Notify editor" body in it. I am not sure if the "Placate author" fires since this is an internal server and can't send email out beyond our network router.

It is as if the Action/Trigger settings (see above) are taking precedence over the Workflow settings.

Have I missed a step in the book? I have gone over the process 3 times and I am not sure what I am doing incorrectly...if anything.

Any help would be appreciated.

 
 

Drupal is a registered trademark of Dries Buytaert.