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?
Discussion posts and replies are publicly visible
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.
Adding here that you cannot send en email to a group, only to all members.
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).
Right so what function would you use to pull the group contents rather than the group its self? I tried group() & ddsl_user but that didn't CC anyone
I don't believe you need to pull the group's contents to send an email to. I assume Stefan was clarifying that an email will go to the members of a group when sent "to" a group, rather than to some sort of group-based email account.
For example I just successfully sent an email where the "to" field was populated with the following expression (though I'm obviously abstracting it slightly here to avoid exposing my email publicly etc)
{ toemailaddress("mike.lastname@myExampleCompany123.com"), cons!APP_GRP_ALL_EMAIL_RECIPIENTS }