I'm attempting to build an automation to help us manage our content before it gets too stale in our Knowledge Base space. The rule is meant to run once a month and scan for pages that haven't been updated in the last 6 months if they are currently in a Verified status, then update the status to Waiting for Review and notify the page owner that the page needs to be reviewed and updated or archived depending on standards we've set for KB articles.
The trouble I'm running into is that the branch rule says it will "perform actions and conditions on pages which are considered inactive." What is considered "inactive"? Is it lack of editing, lack of views, both, neither? If a user views a page briefly instead of being "engaged" (according to the page analytics), does that make the page count as active? What if a contributor manually updates the page status but doesn't edit the page? Will it still be considered inactive because it wasn't edited?
If this is the wrong way to go about building my automation, I'm open to any suggestions!
Hello @Raelee Busk
Have you reviewed the information here?
https://support.atlassian.com/cloud-automation/docs/branches-in-confluence-automation/
That page includes a description of that Branch option and what constitutes activity.
This page is helpful for understanding the different components that can be part of a rule, but it doesn't answer my question of what is considered an inactive page. Even the hyperlink on that page directly on the words "inactive page" doesn't lead to an answer and just leads to info about smart values.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Raelee Busk
The linked document details what constitutes "activity" and states that Inactive pages are ones that have not had an of these activities within the time period specified.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Raelee Busk, views are what breaks it for what you described. You said pages that haven't been updated in 6 months, and a page people still open weekly counts as active however long ago anyone last edited it, so that branch will not reach the articles you are trying to catch.
The plain Page branch is the one that matches your sentence. It carries a Date updated criterion, which the doc defines as when the page was most recently edited. It opens on the Author module, so take that off first. Your Verified gate then goes after it as a Page condition, under Analytics, which has a Status criterion, page status is one of the statuses configured for the page's space.
On the status question, the version that will bite you is your own rule. Two people report in the comments on Atlassian's Verified Pages post, one of them off their own testing, that changing page status via automation changes the last updated date. So the moment your rule writes Waiting for Review it freshens the page, and a date-updated rule won't see that page again. Whether a contributor doing it by hand lands the same way I haven't tested. That is the mirror of the bug Tobi linked, where the branch fails to see automation's own activity and re-fires forever. Either way the fix is the same, stop making the status carry the memory. Put a label on what you have already flagged and exclude that label on the next run.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Raelee Busk ,
On top of what Trudy said/linked, this is pretty much everything that counts as inactive page/content:
Views: Any unique user viewing the page
Content Changes: Creating, updating, or deleting the page
Engagement: Adding or updating comments on the page
Organization: Moving the page to a different space
Hierarchy: Activity on a child page is also counted as activity for its parent page
Or at least it should be that. There's also this bug related to page inactivity and automation: CONFCLOUD-84539: Automation "For each inactive page" branch fails to recognize activity performed by automation, leading to re-processing loops and throttling.
I'd still be careful with this branch and I'd monitor it for the first couple of times that it didn't remove or do any actions on pages that it shouldn't have to.
Cheers,
Tobi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you want full control over what defines an "expired" page and how the archiving workflow operates, you can easily set this up using the Better Content Archiving app.
Setup for your use case:
Configure the "Expired" status with this CQL: arch.event.lastUpdatedOn < now("-180d")
(This flags any page unedited for 180 days as "Expired," ignoring page views or other activity. You can customize the CQL to add extra criteria as needed.)
Configure the notification. Set the CQL toarch.status = "Expired"
and select the Page Owner as the recipient. (You can also add the last modifier, original author, or specific team members).
The app also includes analytics, status dashboards, and additional automation features.:
Check out the Better Content Archiving documentation for a full overview!
(Discl. this paid and supported app is developed by our team. Free for 10 users!)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.