Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can I apply a Comala workflow with label ABC but NOT XYZ

Margaret Hassall July 4, 2022

I currently have a Comala space workflow that is applied to all confluence pages with the label "training", but I'd like to also say, but not if it also has label "archived".

I have experimented with the invert label flag, but that applies to all labels in the list.

1 answer

0 votes
James Conway
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 5, 2022

Hello @Margaret Hassall 

You have tagged this as deployed on Cloud however currently Comala Document Management cloud does not have label workflows. Having said that as you mentioned the invert label flag I assume you are using Comala Document Management server or data center.

There is no direct way to achieve what you want with the workflow label filter and invert label flag.

One alternative approach would be to use two active workflows:

Workflow 1 - Your Documents Workflow with label = training-wf

{workflow:name=Training Workflow|label=training-wf}
{state:...
...
{workflow}

Workflow 2 - A separate label triggers workflow to manage which labels should be set / removed, e.g.


{workflow:name=label-triggers}
{trigger:labeladded|label=training}
{set-label:training-wf}
{trigger}
{trigger:labeladded|label=archived|haslabel=training-wf}
{remove-label:training-wf}
{trigger}
{trigger:labelremoved|label=archived|haslabel=training}
{set-label:training-wf}
{trigger}
{workflow}

You may need to specify additional use cases in Workflow 2 depending on your exact requirements.

If you need additional help with this approach, please reach out to our friendly Customer Success team at https://support.comalatech.com

Kind regards

James

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events