This question about Using an extension: More info required

WorkflowPlugin & ClassificationPlugin Errors

I've installed WorkflowPlugin, and trying to get it to work with ClassificationPlugin.

Issue 1: workflowdefinitiontopics raise an unknown error. FCCI stops sending the response to NGINX. I’m unable to view definition topic. I can edit, but can not view. I’m unable to get further detail from NGINX or Foswiki logs.

Issue 2: I get intermitent errors, complaining of no key for a hash (line 338 WorkflowPlugin.pm). I’m mobile ATM, so need to copy/paste the exact error later.

Issue 3: if I try to use WorkflowPlugin on its own, the macros render
#{ }#Attach
#{ }#Edit
#{ }#
#{ }##{ }##{ }# #{ }##{ }#

in place of the various labels.

Issue 4: I can’t enable debug (or the ACL mode) in the config.spec for WorkflowPlugin - they dont show in configure and tools/configure states they’re not in any specs.

I think, as it appears to work when used direct (albeit theres an issue with lookedup strings being rendered), that it's related to ClassificationPlugin. The errors only seem to be with the definition view… and maybe something in the classifiedcontrolledtopic view too.

Checking tools/dependencies, it does complain that ClassificationPlugin wants a differnt version of WorkflowPlugin, but I’ve got the latest/only versions?! Unless they’re dependent on patched forks/tags of the plugins?

-- JonMcCoy - 28 Mar 2024

WorkflowPlugin will be replaced with QMPlugin, a new workflow engine. So never mind running WorkflowPlugin and its additional infrastructure part of ClassificationPlugin.

-- MichaelDaum - 28 Mar 2024

Okay, being playing today, and determining it was in the WorkflowDefinition 's view, checked WorkflowDefinitionViewTemplate and spotted the GRAPHVIZ macro. Commented it out, and it started working. For some reason on this install, graphviz wasn't installed (Perl module was and didn't have any errors!). Rectified, and the WorkflowDefinitionViewTemplate is now working perfectly.

Whilst I can't enable debug mode, the ACL are now correctly working and the intermittent errors stopped too. It seems that some of the calls to the WorkflowDefinition were to the raw text and others were to the rendered page - the latter was breaking entirely.

It doesn't resolve the #{ }# which I suspect is a Language module issue?

-- JonMcCoy - 28 Mar 2024

Hi MichaelDaum - what's the time scale for QMPlugin to be released?

Will there be an easy transition from WorkflowPlugin to QMPlugin?

I have a project spanning a year or so - it's a function I'd like to integrate early on as many topics (hundreds) will need some sort of workflow for signoff/management etc.

Thanks Jon

-- JonMcCoy - 01 Apr 2024

QMPlugin is backwards compatibility. It will have signoff management, ie. for multiple people having to sign off the same state transition.

-- MichaelDaum - 02 Apr 2024
 

QuestionForm edit

Subject Using an extension
Extension ClassificationPlugin, WorkflowPlugin
Version Foswiki 2.1.8
Status More info required
Related Topics
Topic revision: r5 - 02 Apr 2024, 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