Versions Compared

Key

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

...

When the following workflow is first added to a space or page in a space, then a space admin can edit the value via Parameters - Space Tools.

  • the workflow parameters type=group and type=users can be used to define different users when adding the workflow to content
  • this can allow a workflow to be used across multiple spaces by different teams without having to change the workflow

A new value for the parameter added to the Parameters dashboard will be used when the workflow is added to the content.

Code Block
languagetext
themeRDark
{workflow:name=Parameters}
   {workflowparameter:Review Group|type=group}
      confluence-users
   {workflowparameter}
   {state:Test}
	  {approval:Review|group=@Review Group@} 
   {state}
{workflow}

(info) Note that a  A default value needs to be added to the body of the workflow parameter for the parameter value to be editable in the space tools Parameters dashboard.

(warning) Editing the parameter value in the Parameters dashboard will not change the value used in a workflow that has already been added and applied to content in the space.

Adding edit=true allows end-users to edit the value at the page or blog post level, both in Page Mode and Space Mode.

...