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
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads