<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How to cc a group and process variable</title><link>https://community.appian.com/discussions/f/process/24334/how-to-cc-a-group-and-process-variable</link><description>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?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to cc a group and process variable</title><link>https://community.appian.com/thread/93895?ContentTypeID=1</link><pubDate>Wed, 20 Apr 2022 19:55:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1098b249-a5c5-4e18-9cbc-074d8a37bcb4</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;For example I just successfully sent an email where the &amp;quot;to&amp;quot; field was populated with the following expression (though I&amp;#39;m obviously abstracting it slightly here to avoid exposing my email publicly etc)&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="java"&gt;{
  toemailaddress(&amp;quot;mike.lastname@myExampleCompany123.com&amp;quot;),
  cons!APP_GRP_ALL_EMAIL_RECIPIENTS
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to cc a group and process variable</title><link>https://community.appian.com/thread/93894?ContentTypeID=1</link><pubDate>Wed, 20 Apr 2022 19:48:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7850b088-3bdb-48b1-ab64-d2a17f0a2326</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;I don&amp;#39;t believe you need to pull the group&amp;#39;s contents to send an email to.&amp;nbsp; I assume Stefan was clarifying that an email will go to &lt;em&gt;the members of&lt;/em&gt; a group when sent &amp;quot;to&amp;quot; a group, rather than to some sort of group-based email account.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to cc a group and process variable</title><link>https://community.appian.com/thread/93892?ContentTypeID=1</link><pubDate>Wed, 20 Apr 2022 19:44:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b94a1eb5-2296-4a7e-a73f-aa658709a589</guid><dc:creator>oludareo0002</dc:creator><description>&lt;p&gt;Right so what function would you use to pull the group contents rather than the group its self? I tried group() &amp;amp; ddsl_user but that didn&amp;#39;t CC anyone&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to cc a group and process variable</title><link>https://community.appian.com/thread/93888?ContentTypeID=1</link><pubDate>Wed, 20 Apr 2022 19:22:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e5ade255-daa2-4634-9986-db9fb7e9aa28</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;I&amp;#39;m unclear exactly what distinction you&amp;#39;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).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to cc a group and process variable</title><link>https://community.appian.com/thread/93887?ContentTypeID=1</link><pubDate>Wed, 20 Apr 2022 19:10:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a9f23ad6-dda5-41a2-adfb-38a52acf056f</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Adding here that you cannot send en email to a group, only to all members.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to cc a group and process variable</title><link>https://community.appian.com/thread/93885?ContentTypeID=1</link><pubDate>Wed, 20 Apr 2022 18:15:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3e7d703c-5a0b-4612-873c-4610ba88c267</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;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 &lt;em&gt;toEmailAddress()&lt;/em&gt;), and I think that would work.&amp;nbsp; The one drawback is I don&amp;#39;t think you&amp;#39;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.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>