Index: openacs-4/packages/workflow/tcl/case-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/workflow/tcl/case-procs.tcl,v diff -u -r1.36 -r1.37 --- openacs-4/packages/workflow/tcl/case-procs.tcl 13 Jan 2005 13:58:53 -0000 1.36 +++ openacs-4/packages/workflow/tcl/case-procs.tcl 18 Jan 2005 19:12:52 -0000 1.37 @@ -1989,6 +1989,14 @@ -action_id $action_id \ -entry_id $entry_id + # Scan for enabled actions + if { [string equal $parent_trigger_type "workflow"] } { + workflow::case::state_changed_handler \ + -case_id $case_id \ + -parent_enabled_action_id $parent_enabled_action_id \ + -user_id $user_id + } + # Notifications if { !$no_notification_p } { workflow::case::action::notify \ @@ -1999,14 +2007,6 @@ -comment_mime_type $comment_mime_type } - # Scan for enabled actions - if { [string equal $parent_trigger_type "workflow"] } { - workflow::case::state_changed_handler \ - -case_id $case_id \ - -parent_enabled_action_id $parent_enabled_action_id \ - -user_id $user_id - } - # If there's a parent, alert the parent if { ![empty_string_p $parent_enabled_action_id] } { workflow::case::child_state_changed_handler \