Learn about Redwood and be one of the first to join the conversation

Visit Redwood Community
Groovy BR REST API Send Email v2 Attachments — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Groovy BR REST API Send Email v2 Attachments

Accepted answer
in Planning 12 comments


Groovy business rule to send email using v2 is working except attachments.

Content (required):

Cannot seem to get the parameters syntax correct.

Version (include the version you are using, if applicable):


Code Snippet (add any code snippets that support your topic, if applicable):

if (emailAttachments.size() > 0) { queryParam.put('attachments',emailAttachments.join(',')) } ; println queryParam

HttpResponse<String> jsonResponse = connection.post(urlSendmail)





Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!