Item8221: Initial State using WorkFlowPlugin

pencil
Priority: Enhancement
Current State: No Action Required
Released In:
Target Release:
Applies To: Extension
Component: WorkflowPlugin
Branches:
Reported By: Foswiki:Main.JoeMarandola
Waiting For:
Last Change By: CrawfordCurrie
I was using query search to search for topics in a specific state by searching the META data
%SEARCH{"META:WORKFLOW.name='APPROVED'" type="query"}%

I noticed in the latest WorkflowPlugin (Foswiki 1.0.6) that there is no META data for the initial state (i.e., on creation of a topic containing Workflow). Once you change state the first time, the META data now appears. In the previous WorkFlowPlugin (TWiki Version), the META data was there as soon as the file was created. I can workaround this by having users select the first state - but would the insert of META data with the initial state on file creation be an easy task?

-- JoeMarandola - 20 Jul 2009

No. The workflow has an implicit default state that should be assumed by any topic that uses the workflow, but does not explicitly set a state - i.e. if no state is set, assume the initial state applies.

-- CrawfordCurrie - 02 Sep 2009

 

ItemTemplate edit

Summary Initial State using WorkFlowPlugin
ReportedBy Foswiki:Main.JoeMarandola
Codebase
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Extension
Component WorkflowPlugin
Priority Enhancement
CurrentState No Action Required
WaitingFor
Checkins
ReleasedIn
Topic revision: r3 - 02 Sep 2009, CrawfordCurrie
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy