Hi there,
I am stuck trying to loop through results from a lookup objects in Assets.
For each of my returned records there is an email address.
I want to loop through the results and per object send an email to that address.
When there are no more results, no more emails.
I have the lookup working, I can see 20 objects with 20 email addresses, but I try an AQL branch and only get one email sent.
What do I need to do to loop through the send email node in the automation to cover all 20 records.
You must use the 'Branch on AQL' branching. It only appears in the 'Advanced Branching' options if your rule has a GLOBAL scope.
@Ste404 -
Although I am not extermely familiar on the AQL branch, based on this article's AQL section - https://support.atlassian.com/cloud-automation/docs/jira-automation-branches/
It did stated that "When configuring actions, you can access the details of each object using the {{object}} smart value" and there is a limitation of 50 objects max.
You may need to "Send email" action within the the branch.
Hope this helps.
Best, Joseph Chung Yin
Jira/JSM Functional Lead, Global Technology Applications Team
Viasat Inc.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.