Index: openacs-4/contrib/packages/simulation/lib/messages.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/lib/Attic/messages.tcl,v diff -u -r1.7 -r1.8 --- openacs-4/contrib/packages/simulation/lib/messages.tcl 5 Jan 2004 15:35:40 -0000 1.7 +++ openacs-4/contrib/packages/simulation/lib/messages.tcl 5 Jan 2004 16:31:59 -0000 1.8 @@ -82,6 +82,7 @@ and pamm.member_id = :user_id and wcrmp.party_id = pamm.party_id and wcrmp.case_id = sm.case_id + and wcrmp.role_id = sm.to_role_id and wc.case_id = sm.case_id and sc.sim_case_id = wc.object_id and w.workflow_id = wc.workflow_id