Index: openacs-4/contrib/packages/simulation/lib/sim-template-tasks.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/simulation/lib/Attic/sim-template-tasks.tcl,v diff -u -r1.30 -r1.31 --- openacs-4/contrib/packages/simulation/lib/sim-template-tasks.tcl 12 Jan 2004 15:52:44 -0000 1.30 +++ openacs-4/contrib/packages/simulation/lib/sim-template-tasks.tcl 13 Jan 2004 12:35:53 -0000 1.31 @@ -234,6 +234,11 @@ set child_workflow_url \ [export_vars -base "[apm_package_url_from_id $package_id]simbuild/template-edit" { { workflow_id $child_workflow_id } }] + if { ![empty_string_p $child_workflow_id] } { + # No assignee when there's a child workflow + set assigned_name {} + } + foreach state_id $states { if { [info exists enabled_in_state($action_id,$state_id)] } { Index: openacs-4/packages/simulation/lib/sim-template-tasks.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/lib/sim-template-tasks.tcl,v diff -u -r1.30 -r1.31 --- openacs-4/packages/simulation/lib/sim-template-tasks.tcl 12 Jan 2004 15:52:44 -0000 1.30 +++ openacs-4/packages/simulation/lib/sim-template-tasks.tcl 13 Jan 2004 12:35:53 -0000 1.31 @@ -234,6 +234,11 @@ set child_workflow_url \ [export_vars -base "[apm_package_url_from_id $package_id]simbuild/template-edit" { { workflow_id $child_workflow_id } }] + if { ![empty_string_p $child_workflow_id] } { + # No assignee when there's a child workflow + set assigned_name {} + } + foreach state_id $states { if { [info exists enabled_in_state($action_id,$state_id)] } {