Index: openacs-4/packages/workflow/sql/postgresql/workflow-procedural-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/workflow/sql/postgresql/workflow-procedural-create.sql,v
diff -u -N -r1.7 -r1.8
--- openacs-4/packages/workflow/sql/postgresql/workflow-procedural-create.sql	28 Aug 2003 09:41:59 -0000	1.7
+++ openacs-4/packages/workflow/sql/postgresql/workflow-procedural-create.sql	3 Oct 2003 13:26:27 -0000	1.8
@@ -181,7 +181,7 @@
     v_item_id := content_item__new (
         v_item_id,                   -- item_id
         v_name,                      -- name
-        0,                           -- parent_id
+        v_case_object_id,            -- parent_id
         v_action_pretty_past_tense,  -- title
         now(),                       -- creation_date
         p_creation_user,             -- creation_user
