Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
maxLevel3
minLevel2
absoluteUrltrue
excludeSee also
typeflat
separatorpipe

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


Info

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.


If both published (final state) and draft versions are available, you will see an additional link, in parentheses, on the workflow status bar:

oImage RemovedImage Added

  • the link with the state indicator circle, in the example above - Review, 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.

oImage Modified

(star) 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:

Code Block
languagetext
themeRDark
https://confluence.yourcompany.com/display/SPACEKEY/Some+Page

The published content could be found at:

Code Block
languagetext
themeRDark
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

SettingWhereNotes
Workflow Activity and Drafts Visibility
Determines which users can see unpublished drafts.
Default ViewDetermines whether published or draft content is seen by default.
Published View Macro Transform

Determines whether the macros

  • {include}
  • {excerpt-include}

display most recently published version or, regardless of workflow state, the latest version of content.

See also

User Guide:

Workflow Authoring Guide: