Hi Community,
I've built a manual trigger on confluence which when runs, creates a copy of that page on another space with the latest date. However, what I want is that as soon as this copy is created the older versions of that page with older dates should get deleted/archived. I'm trying to create a rule but not sure on what comparison values should I use to compare both the pages to retain the one with the latest date. Right now, the page title is {{content.title}} - {{now.shortDate}} which gives the name of the page with the latest date. Can someone please guide?
Hello @Nikita Aurora
Using the Action Variable can help you.
Try creating a variable containing the page title {{page.title}}:
A second variable containing the date of first publication {{page.dateFirstPublished}} or the date of last update {{page.dateLastUpdated}}:
This will save the information from the triggered page.
After copying the page, create other variables to store the information from the copied page:
Use the {{smart values}} condition:
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.