Item8309: System.FormattedSearch and Workflow META-Information

pencil
Priority: Normal
Current State: Closed
Released In:
Target Release:
Applies To: Extension
Component: WorkflowPlugin
Branches:
Reported By: Foswiki:Main.MichaelGustavSimon
Waiting For:
Last Change By: CrawfordCurrie
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

 

ItemTemplate edit

Summary FormattedSearch and Workflow META-Information
ReportedBy Foswiki:Main.MichaelGustavSimon
Codebase 1.0.7
SVN Range Foswiki-1.0.7, Sun, 20 Sep 2009, build 5061
AppliesTo Extension
Component WorkflowPlugin
Priority Normal
CurrentState Closed
WaitingFor
Checkins
ReleasedIn
Topic revision: r3 - 20 May 2010, 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