Skip to main content
Nintex Community Menu Bar
Question

Mass Action: Send email to multiple people using standard SF functionality

  • July 10, 2024
  • 4 replies
  • 0 views
  • Translate

Forum|alt.badge.img+10

I want to send an email from a Skuid table to multiple selected people at the same time.

Tried hacking the url to include multiple email addresses using a mass action button but the email addresses are not being passed. I have the semi colon in there because that is how multiple bcc’s are separated within SF.

Has anyone successfully configured the URL to send multiple emails?

URL: 
/_ui/core/email/author/EmailAuthor?rtype=003&p2_lkid=noreply@abc.com&p5={{{Email}}};

Did this topic help you find an answer to your question?
This topic has been closed for comments

Forum|alt.badge.img+17
  • Nintex Employee
  • July 10, 2024

How are you getting the multiple email addresses together into one “Email” field? 

Translate

Forum|alt.badge.img+10

I thought through the mass action. I have the email field in the redirect url and the model so I thought it would pull it through the mass action the way it does with a row action. Is that not the case?

Translate

Forum|alt.badge.img+10

Thanks for the question Rob, it made me think and realize i was going about it the wrong way. I had to go the way of a snippet for this to work since the email addresses need to be in a colon-separated string. I re-purposed the snippet from this post and altered to suit my needs.

Final result:

&#47;&#47; Get the Email of the selected items as an Array<br />var emailArray = skuid&#46;$&#46;map(arguments[0]&#46;list&#46;getSelectedItems(),function(item){&nbsp;<br /><br />&nbsp; &nbsp;return item&#46;row&#46;Email;&nbsp;<br /><br />});<br /><br />&#47;&#47; Convert this array to a colon-separated String<br /><br />var emailString = emailArray&#46;join(';');<br /><br />&#47;&#47; Redirect to Send Email page,<br />&#47;&#47; passing in the Contact Email string<br />window&#46;location&#46;href = "/_ui/core/email/author/EmailAuthor?rtype=003" + "&amp;p24=" + "noreply@abc&#46;com" + "&amp;p5=" + emailString;
Translate

Forum|alt.badge.img+17
  • Nintex Employee
  • July 10, 2024

Glad you got it working.  

Translate

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings