Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
maxLevel3
minLevel2
absoluteUrltrue
excludeOverview
typeflat
separatorpipe

Overview

In the space tools Document Management dashboard a space admin can select a workflow and make it active on all content in the current space.

The dashboard allows a space admin to

  • initialize the states for the active space workflow

  • clear workflow historydocument activity

  • set the removal of all view and edit restrictions when the content transitions to the final state in the workflow

  • reindex your workflows 

If the current workflow includes a workflow parameter, a space admin can set the value for the workflow parameter.

A space admin can also create (or edit) a workflow using either workflow builder or the JSON editor.

Space Settings Document Management Dashboard

  • choose Space Settings in the Confluence sidebar

  • select the Document Management option in Manage Pages

The Document Management dashboard will display the Space Workflow Configuration. This includes

  • the current workflow for the space with options to disable or enable the workflow; edit the workflow and change the space workflow

  • Utilities options to clear workflow historydocument activity; reindex workflows and initialize workflow states for all pages

  • Settings option to enable/disable the removal of page-level user permission restrictions on the workflow transition to the workflow final state

Image RemovedImage Added
 (blue star)

  If the current space workflow is disabled, only the Reindex workflows option is visible. All the Utilties and Settings options are only displayed only when the workflow is enabled.

(info) If If the current workflow includes one or more workflow parameters, the Set Parameters button is also displayed to open the Parameters dialog box to edit their values for the space.

Change the workflow in the space

Within the space settings of a given space, you can select from three available workflows to apply to the space:

Check this page to get more information about these workflows.

A single workflow can be added to the space settings Document Control workflows dashboard.

Once added to the dashboard you can choose to make active or disable the application of the workflow across the space content. By default, the Basic Approval Workflow is added as inactive.

  • moving the tick slider on or off will activate or deactivate the currently selected workflow for the space

  • when made active the selected workflow will be added and applied on every page and blog post

To select a different workflow, simply click the Change Workflow button.

Choose the workflow you would like to add to the space Document Management dashboard from the Add workflow picker.

The current space workflow will be replaced by the workflow chosen in the workflow picker.

Workflow builder

The current space workflow can be edited using workflow builder.

  • choose  Edit Workflow button

  • select Edit with the Workflow Builder from the dropdown menu

Saving one of three bundled space workflows after editing using workflow builder creates a custom workflow. The changes are saved in an edited copy.

When saving this edited workflow copy it must be saved with a new name. Workflow builder may automatically save the edited workflow copy with the name appended with (Copy).

Info

When editing a bundled space workflow the original workflow is not changed. You must rename the edited workflow before saving it.

All saved custom workflows are available to add and enable in the current space. They will be available in the Add Workflow picker.

Further edits can be made to each of these custom workflows using workflow builder without the need to save with a new name.

If the following error appears renaming the workflow will allow the changes to be saved in a new custom workflow.

Removing a custom workflow from the space

You can also remove a custom workflow from the space.

When the custom workflow is added to the space an additional option is available in the dropdown menu next to the Change Workflow button.

Choose Remove workflow.

(warning) The custom workflow is permanently deleted and will no longer be available in the Add workflow picker.

You cannot remove any of the bundled workflows.

JSON Editor

The current workflow can be edited using the JSON editor. The editor can also be used to import other workflows into the current space by copying and pasting the JSON markup for the workflow from another space.

JSON is a markup language used to build the workflow. You should only use this if familiar with JSON.

Access the JSON editor by opening the dropdown menu next to the Change Workflow button.


The JSON can be edited. 

The JSON editor will validate any changes and warning errors will be displayed with details of the validation. The application of JSON markup with validation errors is not allowed by the editor.

Changes applied to the JSON markup will be seen in workflow builder.

JSON triggers can also be added to a workflow using the Triggers option in the Edit workflow panel in workflow builder.

Any queries on importing workflows or using the JSON editor please contact Comalatech support.

Set Parameters

If the current workflow includes a workflow parameter, a space admin can set the value for the workflow parameter for the current added space workflow.

The Set Parameters button is displayed when the current space workflow includes one or more workflow parameters.

Choose Set Parameters to open the Parameters dialog box to edit the available workflow parameters for the current space workflow. The current value for the workflow parameter will also be displayed.

For example, the bundled Content Expiry Workflow has the workflow parameter, Expiration.

To change the Expiration parameter value that will be used by the workflow

  • choose the Set Parameters button

  • edit the Expiration parameter value displayed in the Parameters dialog box

If the bundled Quality Management System Workflow is the added space workflow, choosing Set Parameters displays the Document User Reviewers and Document Group Reviewers workflow parameters defined in that workflow.

If the value for the workflow parameter is changed in this dashboard, the new value will be used when the workflow is first applied to content.

The updated parameter value will also be used the next time a workflow event occurs that causes the retrieval of the workflow parameter value. For example, if the Expiration parameter value for the Space Administration is updated by the space admin, a subsequent transition to the Approved state will use the new parameter value to set the Approved state expiry.

Utilities

The utility options allow you to configure the workflow application and the workflow history document activity for the content in the space.

Initialize states

Choose one of the workflow states from the dropdown menu to set the space mode workflow to a specific state.

Workflow History

Document Activity

Anchor
documentactivity
documentactivity

The option CLEAR deletes the history of the workflows actions workflow document activity of every single page and post in the space and resets the workflow state to the initial workflow state.

Reindex Workflows
Anchor
reindex
reindex

The option Reindex Workflows should be used when you have imported your instance or a space from cloud to cloud.

This is a final step required after importing to update the document states correctly for those pages that you have not visited yet.

There are some circumstances where you may need to reindex your workflows, for example, if your users report issues with workflow states  - document states may be shown as 'not initialized' in the Document Report and workflow history. Reindexing your workflows ensures that up-to-date workflow history is displayed for each document.

Workflow Settings

Remove view and edit restrictions

When content reaches a workflow final state the workflow can be set to remove all view and edit restrictions to all users and groups.

Related pages