This is an template for an example document that demonstrates some of the features of the WorkflowPlugin. Documents based on this template will be controlled by the DocumentApprovalWorkflow workflow.

The table below is part of the example content, and is generated by expanding some of the macros described in VarWORKFLOW

You can use the button on the WorkflowPluginExample page to create a new topic you can experiment with.

Macro Description Expands to
%WORKFLOWSTATE% Current state of the document PLEASEAPPROVE
%WORKFLOWSTATEMESSAGE% State message Waiting for approval
%WORKFLOWTRANSITIONS% Transitions available to you DISABLED
%WORKFLOWLAST{"APPROVED" format="$date by $author"}% Last time in APPROVED state ControlledDocument has never been in state 'APPROVED'
| %WORKFLOWLASTVERSION{"APPROVED"}% | Link to version when it was last in APPROVED state | #{ }#revision ControlledDocument has never been in state 'APPROVED' |
%WORKFLOWHISTORY% Workflow history PLEASEAPPROVE -- Mon, 31 Jul 2017 11:20:00 GMT
%WORKFLOWFORK{newnames="ControlledDocumentAUTOINC000" log="off"}% Fork the document to a new topic

Other WORKFLOW* preferences defined in DocumentApprovalWorkflow are defined here too:
WORKFLOWNOTICE This document is under workflow control
WORKFLOWSET Example setting
WORKFLOWDEBUG 1

This topic: Sandbox/WorkflowPluginExample > ControlledDocument
Topic revision: 01 Aug 2017, UnknownUser
This site is powered by FoswikiCopyright by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding DAMASK? Send feedback
§ Imprint § Data Protection