Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Excerpt
hiddentrue
nameRefined page card image
Image Added
Info

Importing workflows

Find out how to Import Workflows

Hierarchy Team Review workflow

requires v6.0.0+

com.comalatech.workflow.repository.categories.label: 

Sample Code Blocktitle

Sample


-Image Modified

  • Want to select approvers
  • Approvers to be propagated to children
  • Approvers set using workflow parameters

  • Second approval review only active on approval of first review



Hierarchy Workflow Markup

collapse
Code Block
true
{workflow:name=Hierarchical approval}
    {workflowparameter:Peer_Reviewers|description=Peers reviewers group|type=group}
        confluence-users
    {workflowparameter}
    {workflowparameter:Managers|type=group}
        confluence-users
    {workflowparameter}
    {state:Draft|approved=For Review}
        {approval:Submit}
    {state}
    {state:For Review|approved=Approved|rejected=Draft}
        {approval:Peer Review|hasapproval=Submit|selectedapprovers=@Peer_Reviewers@}
        {approval:Manager|hasapproval=Submit|selectedapprover=@Managers@}
    {state}
    {state:Approved}
    {state}
{workflow}
Image Removed

This workflow includes workflow parameters. When applying a space workflow

  • a parameter reference value may only be available for use by the workflow after a workflow process, such as a transition, occurs. For example, the initial state should not include the use of the parameter reference value for a due date or pre-assigned reviewers for approvals to avoid blocking your workflow. Alternatively, you can choose to Initialize states when applying a space workflow

  • the parameter value is retrieved from the space parameters dashboard on first application of a workflow to a page or blog post. This value may be different to the value used in the workflow template