Overview
If the workflow uses same-space publishing, the workflow will treat the published version of content differently to draft (unpublished) versions:
- by default, users with View-only permission will only see the most recently published version – they can't see draft versions
- users who have Edit or Admin permission can see all versions, and easily switch between the latest published and draft versions
In same-space publishing, the published version is the version created on a transition into the final
state in the workflow.
Editing of content in the final
state will create a new version but the published version will remain as the version created on transition into this state.
This is why it is good practice to transition out of the final
state if the content is changed, for example by adding an updated transition to the final
state.
Status bar links
If both published (final state) and draft versions are available, you will see an additional link, in parentheses, on the workflow status bar:
o
The link with the state indicator circle, in the example above, Initial, is the version you are currently viewing.
The link in brackets, in the example above, Published, will take you to the alternate version of the page.
This alternate version is the content version created on the last transition to the final state. When viewing this version, the status bar will display a link to the current draft state for the content.
o
When viewing the alternate version, although the workflow final state name is displayed, this is for information only and does not give access to the workflow popup. The content is in the draft workflow state accessed using the link (View, "draftstatename") the status bar.
URL for published content
When switching between draft and published content, you may notice that the URL changes.
For example, if the draft content was at the following URL:
https://confluence.yourcompany.com/display/SPACEKEY/Some+Page
The published content could be found at:
https://confluence.yourcompany.com/display/public/SPACEKEY/Some+Page
Note the insertion of /public
in the URL.
This only applies to users who have edit or admin permissions, as two URLs are required to differentiate between which version of content they are looking at.
Ordinary users, with view-only permission, will always see the normal URL.
App configuration
Setting | Where | Notes |
---|---|---|
Workflow Activity and Drafts Visibility | Determines which users can see unpublished drafts. | |
Default View | Determines whether published or draft content is seen by default. | |
Published View Macro Transform | Determines whether the macros
display most recently published version or, regardless of workflow state, the latest version of content. |