Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Confluence automation for Iterative/loop

venkata naram September 9, 2024

 

Could you set a rule to run only on pages not modified in the last 'n' number of days? Build a rule to list the number of pages and send just one email notification to all the pages.

I have a Confluence automation rule for a page branch where the last modified date is less than a specified number of days.

 

In the email notification handling the loop, I have given the below code

{{#Page}} {{title}} ((/Page}} 

 

2 answers

0 votes
Levente Szabo _Midori_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
October 1, 2024

@venkata naram If you can't overcome the error and want to avoid similar issues in the future, I recommend trying a dedicated solution instead of a general-purpose tool. See this other conversation about Confluence notifications on lifecycle events.

With Better Content Archiving and Analytics, you can have your custom, automatic notification system that:

  1. sends out page lists instead of email flooding
  2. sends out customized page lists (an email to "page owners" will produce a different list for each recipient)
  3. allows you to flexibly customize the email content or translate it
  4. send to many different recipients
  5. manage email templates for different spaces, departments, teams, etc
  6. and more

Many of the Better Content Archiving and Analytics users started out trying Automation for Confluence and found that it wasn't worth their time or they had a complex use case that required a dedicated tool. A free 30-day trial would not hurt so that you can find out for yourself.

(I'm part of the team developing Better Content Archiving and Analytics.)

0 votes
Manon Soubies-Camy
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 10, 2024

Hi @venkata naram and welcome to Community!

You can add a page branch to perform actions on pages updated more than x days ago, for example:

Capture d’écran 2024-09-10 à 11.07.59.png

Hope this helps!

- Manon

venkata naram September 10, 2024

Hi @Manon Soubies-Camy 

Thank you for your immediate response. I seek an iterative process to avoid sending multiple emails for each page. I will try to rephrase my question.

I have created a page branch that returns multiple pages when they satisfy the condition of being updated more than 15 days ago. Currently, I have an action that sends an email notification for each page, resulting in multiple emails.

For example, if the page branch returns four wiki pages, it will send four separate emails. I want to send only one email that consolidates all the pages into the email content. How can I achieve this using an iterative process or loop in the email content?

If you refer to the template that notifies people about inactive pages, I want to achieve the same result using that method.

Thanks

Venkata

 

Manon Soubies-Camy
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 11, 2024

Hi @venkata naram, ah, ok, I get it now, thanks for the additional context!

The Lookup action searches for pages meeting your condition:

lookup.png

And you can then use the result in other actions, such as:

lookup-email.png

Is that what you are trying to achieve?

Like # people like this
venkata naram September 12, 2024

The given solution with lookupPages is not working. Below is the error I'm facing:

Screenshot 2024-09-12 172810.png

Manon Soubies-Camy
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 13, 2024

Can you please share a screenshot of your rule as well?

venkata naram September 16, 2024

 

Sorry for the delayed response. Below is the screenshot.

Screenshot 2024-09-16 085500.pngScreenshot 2024-09-16 085603.png

venkata naram September 18, 2024

Hi @Manon Soubies-Camy , Any update.

Manon Soubies-Camy
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 19, 2024

Hi @venkata naram, I cannot reproduce your issue. I seem to run into the same bug than this Community post though, as the email I receive is blank, so I'd recommend reaching out to Confluence's support team.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events