This question about Using an extension: Answered

How do you design rules for workflows?

I would like to use the MirrorWebPlugin in a quality management system, in order to mirror all documentation in "approved" state to another web, with less viewing restrictions.

I have read the documentation as well as some comments on the WorkflowPlugin that recommend using the MirrorWebPlugin for this purpose, but I can't seem to find any instructions on how to write the specific rules that do that.

Any help would be appreciated!

The current state in a workflow is recorded in meta-data associated with the topic. However it is not stored in the form data, so cannot (currently) be used as a filter for MirrorWebPlugin.

-- CrawfordCurrie - 10 Jan 2012


You could use a specific form as the method for marking a topic as 'approved.' You could apply a final 'approval form' in the last transition. If you are already using DataForms on your topics you could copy the form and add an approval field to also filter on. To be sure nothing gets accidentally/improperly approved you can have the form not defined as a WEBFORM in WebPreferences. The WorkflowPlugin can still apply the form but people will not be able to add it manually.

-- TimothyGaudette - 07 Nov 2013

QuestionForm edit

Subject Using an extension
Extension MirrorWebPlugin
Version Foswiki 1.0.9
Status Answered
Related Topics
Topic revision: r3 - 07 Nov 2013, TimothyGaudette
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