Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Email Automation Failure "To address is empty" when it shouldn't be?

Edited

Hi all, would love some help on this.

I want to send an email to the request participants when they are added into the system. I do this by

  1. every time "request Participants" value is added,
  2. I check the ticket type,
  3. then I use a smart value to pull {{issue.Request Participants}}
  4. then check it and based on it
  5. I send a certain email to that smart value.

But I very verryy occasionally get a message saying it "fails" with "To address field is empty. If you referenced a field it may be empty"

I don't see how this can be the case, I can certainly see request participant was added, and the automation trigger shouldn't even run if it was?

----

Edit - it so far seems like if I get rid of (2) it helps? Will need to test more to confirm but maybe there's some sort of race happening?

 

1 answer

1 vote
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 16, 2023 • edited Nov 20, 2023

Hello @Calvin 

Please show us the full automation rule you have created and the details of the Send Email action.

Some errors may be caused by the context in which a step is executing.

Or, you may have an incorrect smart value in the To field for your Send Email action.

Thanks Trudy, not sure if the below works for full automation but its:

 

- When Value changes for - Request Participant

- For Each - Smart Value = {{issue.Request Participants}} , Variable = ReqPart

---- if {{ReqPart.emailAddress}} contains "gmail"

---- Then Send Email - To = {{ReqPart.emailAddress}}, Content = Hi Gmail User

- For Each - Smart Value = {{issue.Request Participants}} , Variable = ReqPartSec

---- if {{ReqPartSec.emailAddress}} contains "hotmail"

---- Then Send Email - To = {{ReqPartSec.emailAddress}}, Content = Hi Hotmail User

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 20, 2023

Hello Calvin,

It would be helpful if we could get a screen image of the rule so that we can see exactly what is actually used in the actions, in case there is a typographical error that did not get recreated when you typed the text above.

Can you show us the Audit Log rule execution details for an execution when you got the failure message?

Is there any common element to the cases where you get the failure?

- Is there more than one Request Participant in the list?

- Was a Request Participant removed from the list, or added, or both?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events