Forums

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

Automation Rule Looping

Mathew Lederman
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.
October 15, 2025

I have an automation rule to send admins a list of inactive Confluence pages. We're coming back to this process after a few months, but noticed the email action is no longer including the details while the Log portion does capture the details. If I remove the loop function from the email, it does send successfully, but it's one giant paragraph rather than a line-by-line list of inactive pages as it used to be. Can anybody look at the screenshot and tell me what I'm missing/have done wrong with the looping function?vEJ3D0VHuL.png

1 answer

1 accepted

0 votes
Answer accepted
Bill Sheboy
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.
October 15, 2025

Hi @Mathew Lederman 

If you try a rule like this, does it iterate as you expect?

  • trigger: scheduled
  • branch rule for / each inactive page
  • the remainder is on the main path and not inside the above "branch"...
  • action: send email, with a body something like this
{{#inactivePages}}
* {{title}} -- {{dateLastUpdated.shortDate}}
{{/}}

 

"Branches" in Confluence rules have two meanings: go get data versus iterate over things.  When you added the second branch, the rule is doing both kinds and prevents the Send Email action from having anything to process.  In my opinion, this difference is quite unclear in the documentation.

 

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
ENTERPRISE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events