cross
New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
This question about Using an extension: Answered

META: WORKFLOW unavailable in initial state

I have a set of documents under workflow control and I need to query search for topics in the initial workflow state. These topics do not contain the META: WORKFLOW information, so this type of query doesn't work. The WORKFLOWSTATE macro works even on these topics, but isn't useful to me here.

My current fix is simply to search for documents containing my specific form type but have META: WORKFLOW.name = '', which seems less than ideal.

Any ideas?


Given that a workflow topic is going to have one or more workflow macros, why not search for one of them and use an AND NOT query to exclude those that have META:WORKFLOW? i.e. something like your current fix, which sounds quite reasonable to me.....

-- CrawfordCurrie - 21 Nov 2010

QuestionForm edit

Subject Using an extension
Extension WorkflowPlugin
Version Foswiki 1.0.9
Status Answered
Topic revision: r2 - 21 Nov 2010, CrawfordCurrie - This page was cached on 15 Aug 2018 - 05:02.

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