Overview
Workflow parameters can be used as placeholders for the values of users who are reviewers for approvals; duration periods for the expiry of your content or labels to be added to your documents allowing you to create a workflow that can be used for different teams or projects but with these values set within a space or on a specific document.
Workflow parameter
A workflow parameter reference can be used to allow an applied workflow to indirectly access a value that can be set elsewhere, for example in the Parameters - Space Tools or a workflow parameter value set by a user on the page. One or more workflow parameters can be added to a workflow using workflow builder. The workflow parameter can be set to use one of the following data types character string Confluence user name(s) Confluence group name(s) duration a list of set values Workflow parameters can be referenced in the workflow by their name wrapped in In the workflow markup the workflow parameter is defined by the workflowparameter macro.@
(at) symbols.
Adding a value
A workflow parameter is a bespoke value reference that can be added when creating a workflow.
A default value to use for the workflow parameter can be configured when adding the workflow parameter to a workflow template.
The workflow parameter can be configured to allow a user to edit the parameter value
on workflow application as part of the workflow setup
using the page tools menu for a page workflow
Space parameter value
The workflow parameter, if created in the workflow template with a default value, is added to the space tools parameters dashboard. This allows a space administrator to edit the parameter value to be used when applying a workflow a space.
If a parameter value is specified in the space parameters dashboard, it will take precedence over the workflow template supplied value when the workflow is applied in the space.
A use case where this can be helpful is when using a global workflow. For example, a space admin might want to change the default value of a specific workflow parameter for use within a space. Editing the space parameter value allows the space specific parameter value to be set, while not altering the global workflow.
Deleting a workflow parameter from the space parameter dashboard does not remove the workflow parameter from the workflow in the space. Instead, a default workflow parameter value set in the workflow template will be used when applying the workflow.