Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to manipulate Event Reference values in Comala Document Management? Edited


I'm trying to create a custom link to Page version comparisons that will be mailed to a reviewer for them to easily identify what has changed in the latest version.

The sample comparison link for Confluence is -


What I could think of is using event references in the following way -


Obviously "@version-1@" is not a valid reference and that is what my question is. How can I decrement the @version@ metadata to use it in this example as that value should be 1 less than the @version@ value.

I came across the "increment-metadata" macro but couldn't seem to find a decrement macro for the same. Is there any other way to achieve this?

3 answers

1 accepted

Hi Davin,

What I did in one of my workflows is to record the previous version in one variable that I can reuse at the next approval.

E.g. 1st approval:


Following approvals:


{set-metadata:oldver}@version@{set-metadata} // for the next round


Hey Matteo, this is a good workaround and it works exactly how I needed it to. But a direct approach like the "increment-metadata" macro would be useful for complex workflows. 

But again, this is a great workaround and thank you for this solution!

@James Conway _Comalatech_ would appreciate your guidance here.


Currently we do not have the ability to decrement a metadata value. The solution suggested by @Matteo Gubellini _SoftComply_ is the approach we would recommend. 

Do keep in mind that any user of Comalatech products can get help from our Customer Success team via 

Kind regards

Senior Product Manager

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

Miss the Confluence demos at Team 21? Watch them here!

Phew, Atlassian Team 2021 blew by. With dozens of demos and a handful of keynotes, you may have missed some of the awesome Confluence Cloud sessions. Don't' worry, you can watch them all here or on Y...

138 views 2 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you