Custom workflows in a space

Overview

Workflows can be added to the space in addition to the three workflow templates included with the app.

cdmc_spacesettings_customworkflow_inactive.png

These are custom workflows. The space administrator can edit a custom workflow using the visual editor or code editor in the app space settings.

A custom workflow is added to a space by:

  • copying an existing workflow by selecting Duplicate in the Actions options for the workflow

cdmc_spacesettings_extract_customworkflow_duplicate_actions_highlighted.png
  • choosing the Create New Workflow option in the dashboard to create a new custom workflow using the visual editor

  • using the code editor to copy and paste the cloud-compatible JSON code from

Create New Workflow

You can create a new custom workflow in the app space settings.

  • choose the Create New Workflow button

The workflow builder visual editor is opened with a two-state workflow, which is the starting point for a new custom workflow.

Add a valid unique name for the workflow and choose Apply to allow you to

  • edit the workflow

    • edit existing states

    • add new states

    • add other workflow elements such as approvals, state transitions, due dates, workflow parameters, and triggers

  • Save to save the new custom workflow

  • Exit to add the custom workflow to the app space settings screen

Workflows in the app space settings are ordered alphanumerically, making it easier to locate a workflow.

Duplicate a workflow

In the app space settings, you can Duplicate an existing workflow to create an editable copy as a custom workflow.

In the Actions options for a workflow:

  • choose Duplicate icon

In the Copy Workflow dialog box

  • add a unique name for the new workflow

The added workflow name is validated for uniqueness in the current space and for the use of reserved characters.

  • choose Submit

The new workflow, named My Simple Approval Workflow, is added to the app space settings.

Copy and paste an existing workflow template

You can use the code editor to copy and paste the workflow template JSON code to add a new custom workflow to a space:

Workflow templates in the server and data center are translated to cloud-compatible JSON code workflow using the Workflow Translator for Cloud feature in the server or data center app.

Copy existing workflow from another space in the cloud

For a workflow in an existing space, in the app space settings

  • choose the Code Editor icon in the Actions options

In the code editor

  • select all the workflow code in the Workflow Schema panel

  • copy the selected code to the clipboard

Navigate to the app space settings in the destination cloud space

  • choose the Create New Workflow button

  • select the Code Editor icon in the right-hand navigator panel

In the code editor

  • paste the source code into the Workflow Schema box

  • choose Save

  • choose Exit

The workflow is added as a new custom to the app space settings in the destination space.

Translate and import a server or data center workflow

The Workflow Translator for Cloud is a server and data center app tool to support your cloud migration.

The tool provides a simple way to support the recreation of a custom workflow from the server or data center instance into a cloud-compatible workflow for use in your Confluence Cloud site.

A data center/server workflow can be translated into cloud-compatible JSON code using Workflow Translator for Cloud, which is available in the workflow builder in the Comala Document Management app in the hosted Confluence instance.

The workflow template cloud-compatible JSON code can be copied and added to a cloud site space using the app workflow code editor in the cloud app.

Some product features and functionalities in the cloud app differ from those in the data center/server app. The workflow translator cannot translate all the elements and parameters of the data center/server workflow into a cloud-compatible JSON workflow. You will need to check the workflow functionality in the cloud and, if required, edit the workflow.

Any elements or parameters in the workflow that are not translated are listed in the Messages dialog box in the Workflow Translator for Cloud dialog box.

Related pages

Space Administration