<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Step type send email does not accept expression and returns Invalid Email in To or CC in ArcGIS Workflow Manager Questions</title>
    <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/step-type-send-email-does-not-accept-expression/m-p/1697776#M2172</link>
    <description>&lt;P&gt;Good afternoon,&lt;/P&gt;&lt;P&gt;I tested this expression:&lt;/P&gt;&lt;P&gt;"GetUser($currentPortal, LastRunner($Job, "&amp;lt;step ID&amp;gt;"))['email']"&amp;nbsp;&lt;/P&gt;&lt;P&gt;and it works.&lt;BR /&gt;&lt;BR /&gt;But when I add it to an email step in the text box To or CC it does not accept the value and shows a message "Invalid email".&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Apr 2026 19:51:46 GMT</pubDate>
    <dc:creator>SanchezNuñez</dc:creator>
    <dc:date>2026-04-22T19:51:46Z</dc:date>
    <item>
      <title>Step type send email does not accept expression and returns Invalid Email in To or CC</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/step-type-send-email-does-not-accept-expression/m-p/1697776#M2172</link>
      <description>&lt;P&gt;Good afternoon,&lt;/P&gt;&lt;P&gt;I tested this expression:&lt;/P&gt;&lt;P&gt;"GetUser($currentPortal, LastRunner($Job, "&amp;lt;step ID&amp;gt;"))['email']"&amp;nbsp;&lt;/P&gt;&lt;P&gt;and it works.&lt;BR /&gt;&lt;BR /&gt;But when I add it to an email step in the text box To or CC it does not accept the value and shows a message "Invalid email".&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2026 19:51:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/step-type-send-email-does-not-accept-expression/m-p/1697776#M2172</guid>
      <dc:creator>SanchezNuñez</dc:creator>
      <dc:date>2026-04-22T19:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: Step type send email does not accept expression and returns Invalid Email in To or CC</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/step-type-send-email-does-not-accept-expression/m-p/1697788#M2173</link>
      <description>&lt;P&gt;I see that you have already wrapped the arcade expression in double quotes.&lt;BR /&gt;According to ESRI documentation, the To/CC fields accept expressions only when inserted via the “This input supports Arcade Expressions” option; otherwise, they’re treated as plain text and flagged as invalid.&lt;BR /&gt;&lt;BR /&gt;In practice, the reliable workaround is to resolve the value first (e.g., store the email in a job property) and then reference that property in the Email step.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://doc.arcgis.com/en/workflow-manager/latest/help/dynamic-job-properties.htm" target="_blank"&gt;Dynamic job properties—ArcGIS Workflow Manager | Documentation&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://doc.arcgis.com/en/workflow-manager/latest/help/send-email.htm" target="_blank"&gt;Add and configure Send Email—ArcGIS Workflow Manager | Documentation&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2026 20:05:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/step-type-send-email-does-not-accept-expression/m-p/1697788#M2173</guid>
      <dc:creator>VenkataKondepati</dc:creator>
      <dc:date>2026-04-22T20:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: Step type send email does not accept expression and returns Invalid Email in To or CC</title>
      <link>https://community.esri.com/t5/arcgis-workflow-manager-questions/step-type-send-email-does-not-accept-expression/m-p/1697957#M2175</link>
      <description>&lt;P&gt;Found the issue.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;The expression must start and end with double quotes, and use single quotes inside the expression.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;"GetUser($currentPortal, LastRunner($Job, '############'))['email']"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 23 Apr 2026 14:36:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workflow-manager-questions/step-type-send-email-does-not-accept-expression/m-p/1697957#M2175</guid>
      <dc:creator>SanchezNuñez</dc:creator>
      <dc:date>2026-04-23T14:36:34Z</dc:date>
    </item>
  </channel>
</rss>

