Following META-Information not working in context of FormattedSearch and pattern to extract for example the last state.

% META:WORKFLOW{name="MYSTATE" LASTTIME_MYSTATE="24 Aug 2009 - 09:32" LASTVERSION_MYSTATE="2"}%

%SEARCH{... format="$pattern(.*META:WORKFLOW{name=\"(.*?)\".*)"}%
... A regular expression pattern to extract some text from a topic (does not search meta data; use $formfield instead). ... (FormattedSearch)

-- MichaelGustavSimon - 20 Oct 2009

I have had a similar problem with the WorkflowPlugin some time ago....I opened a similar task to this one here: Item1127. I solved my problem by hacking in the missing capability to the WorkflowPlugin itself (Item8172). So now you can do things like:

%SEARCH{"(form[name~'CaseForm*']) AND (CompanyRepresentative='Main.Collin*') AND (META:WORKFLOW.name!='CLOSED')" 
type="query" format=" | [[$topic]]   | percntWORKFLOWSTATE{$quot$topic$quot}$percnt |"}%

Maybe not the ideal solution, but it does the trick.

-- DeanSpicer - 20 Oct 2009

AFAICT this is addressed by %QUERY in 1.1 and Dean's changes to the plugin to do cross-topic state queries. If I'm wrong, re-open the report.

-- CrawfordCurrie - 20 May 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