Versions Compared

Key

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


Excerpt
hiddentrue
nameRefined page card image


Info

Importing workflows

Find out how to Import Workflows


Hierarchy Hierarchical Team Review workflowrequires v6.0.0+
com.comalatech.workflow.repository.categories.label: Sample


-

  • Want to select approvers
  • Approvers to be propagated to childrenApprovers set using workflow parameters
  • Second approval review only active on approval of first review





Code Block
titleHierarchy Workflow Markup
collapsetrue
{workflow:Hierarchical approvals}
    {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}