This question about Using an extension: Answered

Workflow state incorrect in PDF title page

Hi,

I am using the WorkflowPlugin in conjunction with the GenPDFAddOn, I am not sure where the problem lies, so will raise this question on both extensions.

I would like to display the current workflow state of a topic on the title page of a generated PDF. However, it only seems to display the state of revision 1. I have tried all of the following:

%WORKFLOWSTATE{web="Support" topic="Question1318"}%
%WORKFLOWSTATE{web="Support" topic="Question1318"}%
%WORKFLOWSTATE{web="Support" topic="Question1318" rev="$rev"}%
%WORKFLOWSTATE{topic="Support.Question1318"}%

The state of the topic displayed on the generated PDF is always UNDERREVISION which is the initial state of the topic.

The same lines in the actual topic of which the PDF is generated are correctly resolved.

The title page does correctly resolve Question1318 and Support to the topic of which the PDF is being generated.

Any ideas on how to resolve this?

Many thanks

-- SusanManoy - 03 Jul 2013

Resolved with %WORKFLOWSTATE{"Question1318"}%

-- SusanManoy - 22 Jun 2015
 

QuestionForm edit

Subject Using an extension
Extension WorkflowPlugin
Version Foswiki 1.1.5
Status Answered
Related Topics
Topic revision: r2 - 22 Jun 2015, SusanManoy - This page was cached on 30 Mar 2017 - 13:19.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License