From ee80f8d01193fe1b34a32f2d8b456330520e4e04 Mon Sep 17 00:00:00 2001 From: Scott Walters Date: Tue, 12 Oct 2010 13:47:22 -0400 Subject: [PATCH] Docpatch to Workflow / Workflow::Instance so that hopefully people have some chance of figuring out what they need to do to get this puppy to roll. --- lib/WebGUI/Workflow.pm | 8 ++++++++ lib/WebGUI/Workflow/Instance.pm | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/lib/WebGUI/Workflow.pm b/lib/WebGUI/Workflow.pm index 4232fdf63..29307114f 100644 --- a/lib/WebGUI/Workflow.pm +++ b/lib/WebGUI/Workflow.pm @@ -566,6 +566,14 @@ sub set { $self->session->db->setRow("Workflow","workflowId",$self->{_data}); } +=head1 SEE ALSO + +L + +After creating a workflow, you need to create an instance of that workflow to kick off activities in it. + +=cut + 1; diff --git a/lib/WebGUI/Workflow/Instance.pm b/lib/WebGUI/Workflow/Instance.pm index 2e33e85fd..7711fbd5a 100644 --- a/lib/WebGUI/Workflow/Instance.pm +++ b/lib/WebGUI/Workflow/Instance.pm @@ -53,9 +53,10 @@ is singleton and an instance of it already exists. A reference to the current session. =head3 properties - The settable properties of the workflow instance. See the set() method for details. +A key/value for C is required in the properties for this method. + =cut sub create {