Wiki Markup |
---|
{repository-workflow:dm.remotepublishing|categories=sample,docmanagement|chart=remotepublishing.png} {repository-description:name=Remote Publishing Workflow} {note}Remote publishing requires the [Remote Publishing Plugin|https://marketplace.atlassian.com/plugins/com.comalatech.remotepublishing].{note} This workflow allows one-way synchronization of a remote confluence instance. Please visit the [workflow's page|https://wiki.comalatech.com/display/WORKFLOW/Remote+Publishing+Workflow] for instructions on how to set up the _private_ and _remote_ instances. {repository-description} {workflow-body} {workflow:name=Remote Publishing} {state:Draft|submit=For Review} {state} {state:For Review|approved=Published|rejected=Draft} {approval:Publish} {state} {state:Published|final=true|updated=For Review} {state} {state:Remove|hidefrompath=true} {state} {trigger:statechanged|state=Published} {set-message:type=note}Page publishing pending...{set-message} {trigger} {trigger:statechanged|state=For Review} {set-message}{set-message} {trigger} {trigger:statechanged|state=Published|queue=true|newevent=pagepublished} {remotepublish-page:remote} {trigger} {trigger:newsstatechanged|state=Published} {set-message:type=note}Page publishing pending...{set-message} {trigger} {trigger:newsstatechanged|state=For Review} {set-message}{set-message} {trigger} {trigger:newsstatechanged|state=Published|queue=true|newevent=pagepublished} {remotepublish-page:remote} {trigger} {trigger:pagepublished|success=true} {set-message:style=info}Page Published!{set-message} {trigger} {trigger:pagepublished|success=false} {set-state:For Review} {set-message:user=<at:var at:name="user" />@user@|style=warning}publishing failed: <at:var at:name="errormessage" />@errormessage@{set-message} {trigger} {trigger:statechanged|state=Remove} {remoteremove-page:remote} {trigger} {workflow} {workflow-body} {repository-workflow} |
...