This question about Installation of Foswiki, Using an extension: Answered

%WORKFLOWLASTTIME_APPROVED does not return a result

The following macros do not expand in a topic, despite an "APPROVED" version of the topic existing:

%WORKFLOWLASTTIME_APPROVED%

%WORKFLOWLASTVERSION_APPROVED%

%WORKFLOWLASTREV_APPROVED% 

Doesn't expand regardless of which state is defined, i.e. WAITINGFORQM instead of APPROVED.

Using version 11 March 2015 of the plugin, on Ubuntu installation of Foswiki 1.1.9.

Other WorkFlowPlugin macros do expand successfully, i.e. %WORKFLOWSTATE% shows correct state, and %WORKFLOWHISTORY% shows history.

Used to work on my old windows system. Don't know how to debug.

Here is a copy of the Controlled Document example from the Sandbox, which has been through a cycle and is performing as above: ControlledDocument.txt

-- TrialTest - 01 May 2015

The macros were written incorrectly. For example, the correct form of a workflow macro is: %WORKFLOWLASTTIME{"APPROVED"}%

-- TrialTest - 27 May 2015
 

QuestionForm edit

Subject Installation of Foswiki, Using an extension
Extension WorkflowPlugin
Version Foswiki 1.1.9
Status Answered
Related Topics
I Attachment Action Size Date Who Comment
ControlledDocument.txttxt ControlledDocument.txt manage 1 K 01 May 2015 - 06:16 TrialTest Non-working controlled document
Topic revision: r3 - 09 Sep 2015, MichaelDaum
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