Index: openacs-4/packages/simulation/tcl/template-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/tcl/template-procs.tcl,v diff -u -N -r1.62 -r1.63 --- openacs-4/packages/simulation/tcl/template-procs.tcl 26 Jan 2004 15:23:37 -0000 1.62 +++ openacs-4/packages/simulation/tcl/template-procs.tcl 26 Jan 2004 15:31:43 -0000 1.63 @@ -526,13 +526,21 @@ -body $body } - # Sign the user up for immediate email notification for received messages in the simulation + # Sign the user up for email notification of received messages notification::request::new \ -type_id [notification::type::get_type_id -short_name [simulation::notification::message::type_short_name]] \ -user_id $user_id \ -object_id [ad_conn package_id] \ -interval_id [notification::get_interval_id -name "instant"] \ -delivery_method_id [notification::get_delivery_method_id -name "email"] + + # Sign up the user for email notification of assigned tasks + notification::request::new \ + -type_id [notification::type::get_type_id -short_name "workflow_assignee"] \ + -user_id $user_id \ + -object_id [ad_conn package_id] \ + -interval_id [notification::get_interval_id -name "instant"] \ + -delivery_method_id [notification::get_delivery_method_id -name "email"] } ad_proc -public simulation::template::enroll_and_invite_users {