Index: openacs-4/contrib/obsolete-packages/acs-workflow/www/assign-yourself-postgresql.xql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/obsolete-packages/acs-workflow/www/assign-yourself-postgresql.xql,v
diff -u -r1.1 -r1.2
--- openacs-4/contrib/obsolete-packages/acs-workflow/www/assign-yourself-postgresql.xql	25 Apr 2001 04:52:44 -0000	1.1
+++ openacs-4/contrib/obsolete-packages/acs-workflow/www/assign-yourself-postgresql.xql	11 Feb 2002 07:45:52 -0000	1.2
@@ -21,7 +21,8 @@
 
       select workflow_case__add_task_assignment (
             :task_id,
-            :user_id
+            :user_id,
+			'f'
         );
 
       </querytext>
Index: openacs-4/contrib/obsolete-packages/acs-workflow/www/assignee-add-2-postgresql.xql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/obsolete-packages/acs-workflow/www/assignee-add-2-postgresql.xql,v
diff -u -r1.1 -r1.2
--- openacs-4/contrib/obsolete-packages/acs-workflow/www/assignee-add-2-postgresql.xql	25 Apr 2001 04:52:44 -0000	1.1
+++ openacs-4/contrib/obsolete-packages/acs-workflow/www/assignee-add-2-postgresql.xql	11 Feb 2002 07:45:52 -0000	1.2
@@ -8,7 +8,8 @@
 
         select workflow_case__add_task_assignment (
                     :task_id,
-                    :party_id
+                    :party_id,
+					'f'
                 );
         
       </querytext>
Index: openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/advanced-workflow-builder.html
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/advanced-workflow-builder.html,v
diff -u -r1.2 -r1.3
--- openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/advanced-workflow-builder.html	19 Nov 2001 18:31:50 -0000	1.2
+++ openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/advanced-workflow-builder.html	11 Feb 2002 07:45:52 -0000	1.3
@@ -14,7 +14,7 @@
 
 <p>
 
-<a href="/doc/">ACS Documentation</a> : <a href="">Workflow</a> : Advanced Workflow Builder's Guide
+<a href="/doc/">OpenACS Documentation</a> : <a href="">Workflow</a> : Advanced Workflow Builder's Guide
 
 <hr>
 
Index: openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/concepts-reference.html
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/concepts-reference.html,v
diff -u -r1.2 -r1.3
--- openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/concepts-reference.html	19 Nov 2001 18:31:50 -0000	1.2
+++ openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/concepts-reference.html	11 Feb 2002 07:45:52 -0000	1.3
@@ -13,7 +13,7 @@
 
 <p>
 
-<a href="/doc/">ACS Documentation</a> : <a href="">Workflow</a> : Workflow Conceptual Reference
+<a href="/doc/">OpenACS Documentation</a> : <a href="">Workflow</a> : Workflow Conceptual Reference
 
 <hr>
 
@@ -58,7 +58,7 @@
 Arc
 
 <dd>
-Arcs are the arrows that connect transitions and places. The always go
+Arcs are the arrows that connect transitions and places. They always go
 either from a place to a transition (thus defining an <b>input place</b> for
 that transition), or from a transition to a place (thus defining an
 <b>output place</b> for the transition).
Index: openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/concepts.html
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/concepts.html,v
diff -u -r1.1 -r1.2
--- openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/concepts.html	13 Mar 2001 22:59:27 -0000	1.1
+++ openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/concepts.html	11 Feb 2002 07:45:52 -0000	1.2
@@ -13,7 +13,7 @@
 
 <p>
 
-<a href="/doc/">ACS Documentation</a> : <a href="">Workflow</a> :
+<a href="/doc/">OpenACS Documentation</a> : <a href="">Workflow</a> :
 Workflow Conceptual Guide
 
 <hr>
Index: openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/coordination.html
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/coordination.html,v
diff -u -r1.2 -r1.3
--- openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/coordination.html	19 Nov 2001 18:31:50 -0000	1.2
+++ openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/coordination.html	11 Feb 2002 07:45:52 -0000	1.3
@@ -10,7 +10,7 @@
 
 <p>
 
-<a href="/doc/">ACS Documentation</a> : <a href="">Workflow</a> :
+<a href="/doc/">OpenACS Documentation</a> : <a href="">Workflow</a> :
 Coordination Central
 
 <hr>
Index: openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/design.html
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/design.html,v
diff -u -r1.3 -r1.4
--- openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/design.html	9 Feb 2002 02:33:35 -0000	1.3
+++ openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/design.html	11 Feb 2002 07:45:52 -0000	1.4
@@ -15,7 +15,7 @@
 By <a href="mailto:khy@arsdigita.com">Khy Huang</a> on 12 April 2001. 
 <p>
 
-<a href="/doc/">ACS Documentation</a> : <a href="">Workflow</a> : Workflow Design Documentation
+<a href="/doc/">OpenACS Documentation</a> : <a href="">Workflow</a> : Workflow Design Documentation
 
 <hr>
 
@@ -85,11 +85,11 @@
 <h3>III.  Historical Considerations</h3> 
 
 
-One of the classic claims of the ACS is that it is "<strong>data
+One of the classic claims of the OpenACS is that it is "<strong>data
 models and workflow</strong>". That's not coincidental. For
 collaborative software, there's going to be a lot of coordination of
 people working towards the same goal. So workflow is a key part of the
-problem space that ACS is designed to solve.
+problem space that OpenACS is designed to solve.
 
 <p>
 
@@ -98,7 +98,7 @@
 code</strong>. Ticket-tracker is a prime example, but other examples
 include order fulfillment and customer service in the ecommerce
 module, the recruting pipeline in the intranet module, and user
-approval in the ACS core.
+approval in the OpenACS core.
 
 <p>
 
@@ -217,7 +217,7 @@
 tasks is to approve or reject something, we'll typically have an
 <code>approved_p</code> attribute that takes a boolean value, and can
 be branched on in an or-split. We considered (1) having a skinny table
-as part of the workflow package to hold the values, (2) using the ACS
+as part of the workflow package to hold the values, (2) using the OpenACS
 kernel metadata/attribute system or (3) have a clob column in the case
 table that holds an XML document with the values. We originally did
 (1), then migrated to (2) when the kernel was somewhat ready for it,
@@ -364,17 +364,17 @@
 
 <p>
 
-For workflow to be really functional, we rely on the ACS kernel at
+For workflow to be really functional, we rely on the OpenACS kernel at
 some point implementing a system for <strong>automatically generating
 forms based on metadata</strong>. This is used for setting workflow
 attributes as part of performing a taks. Currently, we do it ourselves
 in a very ad-hoc fashion. Speaking of attributes, we store a
 <code>wf_datatype</code> about attributes, in addition to the
-information stored by the ACS kernel. This is historical. We needed
-it, because the ACS kernel currently doesn't let us say that the
+information stored by the OpenACS kernel. This is historical. We needed
+it, because the OpenACS kernel currently doesn't let us say that the
 datatype of some attribute is the primary key of some object of a
 specific type, e.g. that the value of an attribute should be a
-party. In this case, the ACS kernel datatype would be number, and the
+party. In this case, the OpenACS kernel datatype would be number, and the
 <code>wf_datatype</code> would be party. We needed that for the manual
 assignments, when we did those with attributes, but now that we don't
 use attributes to store those anymore, because attributes can only
@@ -426,7 +426,7 @@
 Management System. There's also a
 <code>wf_attribute_value_audit</code> table, which all the historical
 values of workflow attributes, a service that is conceptually better
-provided by the ACS kernel, but since the kernel currently doesn't do
+provided by the OpenACS kernel, but since the kernel currently doesn't do
 that, we have it here.
 
 <p>
@@ -435,7 +435,7 @@
 whether something is defined at the workflow or context level, to
 query the actual workflow state (used by
 <code>workflow_case.enable_transitions</code>), and one to abstract
-away from traversing the ACS kernel party hierarchy.
+away from traversing the OpenACS kernel party hierarchy.
 
 <p>
 
@@ -710,7 +710,7 @@
 the workflow engine. It would fully expose implementation details,
 because these are necessary to understand how to build non-simple
 workflows. It would also allow the user to export the workflow in some
-way that is importable into another ACS installation for distribution
+way that is importable into another OpenACS installation for distribution
 either alone or with a package, either as a SQL file to load into the
 RDBMS, or as an XML in the <a href="http://www.wfmc.org">WfMC</a>
 standard format.
Index: openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/developer.html
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/developer.html,v
diff -u -r1.3 -r1.4
--- openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/developer.html	9 Feb 2002 02:33:35 -0000	1.3
+++ openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/developer.html	11 Feb 2002 07:45:52 -0000	1.4
@@ -13,7 +13,7 @@
 
 <p>
 
-<a href="/doc/">ACS Documentation</a> : <a href="">Workflow</a> : Workflow Developer's Guide
+<a href="/doc/">OpenACS Documentation</a> : <a href="">Workflow</a> : Workflow Developer's Guide
 
 <hr>
 
Index: openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/finishing.html
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/finishing.html,v
diff -u -r1.2 -r1.3
--- openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/finishing.html	19 Nov 2001 18:31:50 -0000	1.2
+++ openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/finishing.html	11 Feb 2002 07:45:52 -0000	1.3
@@ -15,7 +15,7 @@
 
 <p>
 
-<a href="/doc/">ACS Documentation</a> : <a href="">Workflow</a> : Workflow Finishing Proposal
+<a href="/doc/">OpenACS Documentation</a> : <a href="">Workflow</a> : Workflow Finishing Proposal
 
 <hr>
 
Index: openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/future-plans.html
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/future-plans.html,v
diff -u -r1.2 -r1.3
--- openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/future-plans.html	19 Nov 2001 18:31:50 -0000	1.2
+++ openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/future-plans.html	11 Feb 2002 07:45:52 -0000	1.3
@@ -13,7 +13,7 @@
 
 <p>
 
-<a href="/doc/">ACS Documentation</a> : <a href="">Workflow</a> : Workflow Future Plans
+<a href="/doc/">OpenACS Documentation</a> : <a href="">Workflow</a> : Workflow Future Plans
 
 <hr>
 
Index: openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/index.html
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/index.html,v
diff -u -r1.2 -r1.3
--- openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/index.html	19 Nov 2001 18:31:50 -0000	1.2
+++ openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/index.html	11 Feb 2002 07:45:52 -0000	1.3
@@ -13,7 +13,7 @@
 
 <p>
 
-<a href="/doc/">ACS Documentation</a> : Workflow
+<a href="/doc/">OpenACS Documentation</a> : Workflow
 
 <hr>
 
@@ -81,7 +81,7 @@
 <a href="installation.html">Installation and Getting Started Guide</a>
 
 <dd>
-How you get started working with the ACS Workflow package.
+How you get started working with the OpenACS Workflow package.
 
 <p>
 
Index: openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/installation.html
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/installation.html,v
diff -u -r1.2 -r1.3
--- openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/installation.html	19 Nov 2001 18:31:50 -0000	1.2
+++ openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/installation.html	11 Feb 2002 07:45:52 -0000	1.3
@@ -15,7 +15,7 @@
 
 <p>
 
-<a href="/doc/">ACS Documentation</a> : <a href="">Workflow</a> : Installation and Getting Started Guide
+<a href="/doc/">OpenACS Documentation</a> : <a href="">Workflow</a> : Installation and Getting Started Guide
 
 <hr>
 
@@ -24,16 +24,7 @@
 <dt>1. Install the ACS-Workflow APM Package</dt>
 
 <dd>
-For notifications to work properly, you may need to modify the call to
-<code>nt.schedule_process</code> in
-<code>acs-workflow/sql/workflow-case-package.sql</code> to correctly
-specify your mail server.  You should do this before loading the
-workflow data model.
-
-Workflow is a standard APM package, so you can install
-the package through the APM user interface. If your installation came
-complete with ACS Workflow installed, you may skip this step.
-
+Workflow is installed by default on OpenACS 4.
 </dd>
 
 <dt>2. Install GraphViz</dt>
@@ -52,9 +43,7 @@
 process. This is used in a number of places, including the Advanced
 Process Builder and the Process Monitor. Although the package will
 operate without GraphViz installed, it is highly recommended that you
-do install GraphViz. Note, that it doesn't really matter whether you
-do this before or after you've installed the <code>acs-workflow</code>
-APM package.
+do install GraphViz. 
 
 <p>
 
@@ -75,6 +64,10 @@
 $ ln -s /usr/local/graphviz/bin/dot dot
 </pre>
 
+<p>
+Note: on Debian, you can do: <code>apt-get install graphviz</code>
+</p>
+
 </dd>
 
 <dt>3. Install Fonts for GraphViz</dt>
@@ -144,7 +137,7 @@
 
 </dd>
 
-<dt>4. Mount the Workflow Package</dt>
+<dt>4. Configure the Workflow Package</dt>
 
 <dd>
 
@@ -153,19 +146,8 @@
 <li>Visit the Site Map at <code>/admin/site-map</code> on your
 webserver.
 
-<li>Create a new subfolder for workflow, and name it
-<code>workflow</code> (you may name it anything you want).
+<li>Click "set parameters" next to the acs-workflow package.
 
-<li>Click "mount" next to that new subfolder.
-
-<li>Select "ACS Workflow" from the list of packages.
-<br><em>
-If Workflow isn't on this list, click the back button on your browser
-and click "new application" instead. Then type in a name (e.g.,
-"Workflow") and select "ACS Workflow" from the drop-down. Hit "New".</em>
-
-<li>Click "set parameters" next to the workflow package.
-
 <li>Make sure the <code>graphviz_dot_path</code> parameter points to the dot
 binary that you just installed e.g., <code>/usr/local/bin/dot</code>,
 and the <code>tmp_path</code> parameter should point to some directory
Index: openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/maintainer.html
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/maintainer.html,v
diff -u -r1.2 -r1.3
--- openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/maintainer.html	19 Nov 2001 18:31:50 -0000	1.2
+++ openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/maintainer.html	11 Feb 2002 07:45:52 -0000	1.3
@@ -13,7 +13,7 @@
 
 <p>
 
-<a href="/doc/">ACS Documentation</a> : <a href="">Workflow</a> : Workflow Maintainer's Guide
+<a href="/doc/">OpenACS Documentation</a> : <a href="">Workflow</a> : Workflow Maintainer's Guide
 
 <hr>
 
Index: openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/overview.html
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/overview.html,v
diff -u -r1.2 -r1.3
--- openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/overview.html	19 Nov 2001 18:31:50 -0000	1.2
+++ openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/overview.html	11 Feb 2002 07:45:52 -0000	1.3
@@ -13,7 +13,7 @@
 
 <p>
 
-<a href="/doc/">ACS Documentation</a> : <a href="">Workflow</a> :
+<a href="/doc/">OpenACS Documentation</a> : <a href="">Workflow</a> :
 Workflow Conceptual Guide
 
 <hr>
Index: openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/release-notes.html
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/release-notes.html,v
diff -u -r1.2 -r1.3
--- openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/release-notes.html	19 Nov 2001 18:31:50 -0000	1.2
+++ openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/release-notes.html	11 Feb 2002 07:45:52 -0000	1.3
@@ -13,7 +13,7 @@
 
 <p>
 
-<a href="/doc/">ACS Documentation</a> : <a href="">Workflow</a> :
+<a href="/doc/">OpenACS Documentation</a> : <a href="">Workflow</a> :
 Workflow Release Notes
 
 <hr>
Index: openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/requirements.html
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/requirements.html,v
diff -u -r1.2 -r1.3
--- openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/requirements.html	19 Nov 2001 18:31:50 -0000	1.2
+++ openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/requirements.html	11 Feb 2002 07:45:52 -0000	1.3
@@ -13,7 +13,7 @@
 By <a href="mailto:khy@arsdigita.com">Khy Huang </a> on April 13, 2001
 <p>
 
-<a href="/doc/">ACS Documentation</a> : <a href="">Workflow</a> :
+<a href="/doc/">OpenACS Documentation</a> : <a href="">Workflow</a> :
 Workflow Requirements
 
 <hr>
Index: openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/support.html
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/support.html,v
diff -u -r1.2 -r1.3
--- openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/support.html	19 Nov 2001 18:31:50 -0000	1.2
+++ openacs-4/contrib/obsolete-packages/acs-workflow/www/doc/support.html	11 Feb 2002 07:45:52 -0000	1.3
@@ -13,7 +13,7 @@
 
 <p>
 
-<a href="/doc/">ACS Documentation</a> : <a href="">Workflow</a> :
+<a href="/doc/">OpenACS Documentation</a> : <a href="">Workflow</a> :
 Support Info
 
 <hr>
Index: openacs-4/contrib/obsolete-packages/ticket-tracker/sql/postgresql/ticket-tracker-packages.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/obsolete-packages/ticket-tracker/sql/postgresql/ticket-tracker-packages.sql,v
diff -u -r1.9 -r1.10
--- openacs-4/contrib/obsolete-packages/ticket-tracker/sql/postgresql/ticket-tracker-packages.sql	20 Nov 2001 12:48:35 -0000	1.9
+++ openacs-4/contrib/obsolete-packages/ticket-tracker/sql/postgresql/ticket-tracker-packages.sql	11 Feb 2002 07:45:52 -0000	1.10
@@ -524,7 +524,7 @@
 	perform workflow_case__add_task_assignment(
 		p_task_id,			-- task_id
 		v_creation_user,		-- party_id
-		''f''
+		''f''					-- permanent_p
 	);
 
 	perform workflow_case__add_manual_assignment (
@@ -560,7 +560,8 @@
 	-- assign the task             
 	perform workflow_case__add_task_assignment(
 		p_task_id,				-- task_id
-		v_default_assignee		-- party_id
+		v_default_assignee,		-- party_id
+		''f''					-- permanent_p
 	);
 
 	perform	workflow_case__add_manual_assignment (