Page Status as a condition for automation purposes
Asked by Andreas Schmidt:

Howdy,

I want to create automation rules that trigger based on a page status value. Are there any references for page status as a condition?

There already is a trigger for the page status. But if I want to combine that with a cron trigger...

Cheers


Answers:
author: Gideon Nolte _Jodocus_
body: Hi [@Andreas Schmidt](/t5/user/viewprofilepage/user-id/4100060)

this one gave me headaches.

From what I see, it seems like the content or page smartValues are not loaded with data inside a branch rule - don't ask me why...  

Generally speaking, {{content.status}} should provide you with the status name for a page and whilst it does so in the first level of a rule (no branch), it is not working inside the branch rule.  

Long story short: {{content.status}} inside an advanced compare condition *should*do the job - due to whatever reasons it does not.

I checked with different branching approaches (cql and the page one) but both seem to not work properly for that matter.  

Furthermore, I checked with another trigger to proof my suspicion: When using {{content}} inside a branch rule with a trigger that sets {{content}} (e.g. Comment added) - the {{content}} smart value inside the branch will remain the one from the trigger.   

From my point of view, this is a bug. I will go ahead and contact the A4C product team about this and let you know if there are any updates.  

Greetings  
Gideon

comments: author: Andreas Schmidt
body: Hi Gideon,

Thanks for the reply. It confirms issues I had with {{content.status}}.

Cheers!


author: Levente Szabo _Midori_
body: [@Andreas Schmidt](/t5/user/viewprofilepage/user-id/4100060)

Depending on the automation action you want to trigger, I recommend looking into the dedicated Confluence content lifecycle management app [Better Content Archiving for Confluence Cloud](https://marketplace.atlassian.com/apps/123/better-content-archiving-for-confluence?hosting=cloud&tab=overview&utm_source=cac&utm_medium=cac-comment-2237883&utm_campaign=gh). In the past 15 years, the app has been the go-to tool for Data Center and Server Confluence users for automatic page status classification, content owner notifications, content review workflows, and automatic archiving. [Now it's available for Confluence Cloud as well!](https://marketplace.atlassian.com/apps/123/better-content-archiving-for-confluence?hosting=cloud&tab=overview&utm_source=cac&utm_medium=cac-comment-2237883&utm_campaign=gh)

![confluence-cloud-content-status-overview.png](https://community.atlassian.com/t5/image/serverpage/image-id/235288iBB8B1661D509F2AF/image-size/large?v=v2&px=999 "confluence-cloud-content-status-overview.png")

Anyone who is interested in a dedicated app to manage the content lifecycle for Confluence (that also scales for large teams' requirements) instead of navigating automation rules is welcome to try Better Content Archiving for Confluence Cloud!

[Learn more about the app](https://www.midori-global.com/products/better-content-archiving-for-confluence/cloud?utm_source=cac&utm_medium=cac-comment-2237883&utm_campaign=gh) and [watch the tutorial video here!](https://www.youtube.com/watch?v=Oexyx8Uwa7s)

*(Please note that I'm part of the team developing Better Content Archiving for Confluence.)*


Tags: cloud

confluence-cloud