Skip to main content
April 20, 2022
Question

How to cc a group and process variable

  • April 20, 2022
  • 6 replies
  • 0 views

Currently have a process that sends an email I want to cc a group and an entered input variable that connects to an email. 

Is there any way I can send an email to both a group and a process variable? 

6 replies

mikes0011
Brainy
April 20, 2022

You can wrap everything in a single expression, which would return an array of group(s), user(s), and/or literal text email addresses (wrapped in toEmailAddress()), and I think that would work.  The one drawback is I don't think you'd be able to easily hardcode your group like you can when you use the field as a Picker - but as far as I can tell you have to either use it as a Picker or use it expressionably, but not both.

The Expression Guru
stefanhelzle0001
Brainy
April 20, 2022

Adding here that you cannot send en email to a group, only to all members.

mikes0011
Brainy
April 20, 2022

I'm unclear exactly what distinction you're making here, but to be clear AFAIK a group *is* a valid target of the Send Email node, as the result will be that the email is sent to all members (the group, itself, does not have an email address).

The Expression Guru