Unable to assign Action_email_role to workflow transitions

jeff.ferrari - June 7, 2008 - 08:01
Project:Action email role
Version:5.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review
Description

Hi there,
I may be misunderstanding something here, but I'm unable to see the action I created when looking at the Workflow triggers. Based on http://drupal.org/node/172152 it looks like action_email_role_action_info() should have an extra hook definition line, something like:

'workflow' => array('any'),

so that these actions are declared assignable to workflow based triggers. I'm aware of http://drupal.org/project/triggerunlock allowing free assignment but this seems more appropriate.

#1

jeff.ferrari - June 7, 2008 - 08:25
Status:active» needs review

Something simple like this - works for me

AttachmentSize
workflow_triggers.patch 377 bytes
 
 

Drupal is a registered trademark of Dries Buytaert.