Forums

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

Comala workflow remove value from parameter

Marya Belanger
Contributor
September 15, 2021

In my workflow, I have a parameter that I'm adding labels to (every labeladded event) :

{trigger:labeladded}
{set-metadata:Page Labels}
@Page Labels@, "@label@"
{set-metadata}
{trigger}

how can I remove a value on a labelremoved event?

{trigger:labelremoved}
{set-metadata:Page Labels}
@Page Labels@ - "@label@"
{set-metadata}
{trigger}

Obviously not with a minus sign, but is there any way to do this?

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.
September 17, 2021

Hello @Marya Belanger 

You can do this with the @labels@ value reference, 

{trigger:labeladded}
{set-metadata:Page Labels}
@labels@
{set-metadata}
{trigger}
{trigger:labelremoved}
{set-metadata:Page Labels}
@labels@
{set-metadata}
{trigger}

If you are looking to reference this metadata value in a page using the Comala Document Management {get-metadata} page macro, then you can simply specify this value reference in the macro config, e.g:

Screenshot 2021-09-17 at 15.48.51.png

Do keep in mind that you can contact our friendly Customer Success team anytime at https://support.comalatech.com with any questions about any Comalatech app.

All the best

James
Senior Product Manager

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events