<?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 Activiti 6.x and Mail Task in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/activiti-6-x-and-mail-task/m-p/39699#M16653</link>
    <description>&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;I have a simple BPMN diagram with just a Start --&amp;gt; Mail Task --&amp;gt; End&lt;/P&gt;&lt;P&gt;In the Mail Task I want set the "to", "from" and "Subject" using "expression"&lt;/P&gt;&lt;P&gt;my goal for example is to make the "to" (recipent of the mail), dynamic.. where the email address should be taken from the "application properties" and if missed as fixed&lt;/P&gt;&lt;P&gt;conceptually I want write similar to&lt;/P&gt;&lt;PRE&gt;{env.getProperty("mypropemailto") ? {env.getProperty("mypropemailto") : "alfresco@alfresco.com"}&lt;/PRE&gt;&lt;P&gt;there is a way to implement it ?&lt;/P&gt;&lt;P&gt;env.getProperty is just an example.. the idea is to get value from the activiti-app.properties&amp;nbsp; and so if set.. use it or if missed used a fixed one..&lt;/P&gt;&lt;P&gt;Reason: I have QA and PROD env.. and if both are deploying the same BPMN (becasue QA is a backup of PROD), really I don't want sent mail to real recipient but to a "specific one"&lt;BR /&gt;I cannot use process/task variable too.&lt;BR /&gt;&lt;BR /&gt;Can you suggest something ?&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;Rob&lt;/P&gt;</description>
    <pubDate>Tue, 05 Sep 2023 13:32:05 GMT</pubDate>
    <dc:creator>rmazzola</dc:creator>
    <dc:date>2023-09-05T13:32:05Z</dc:date>
    <item>
      <title>Activiti 6.x and Mail Task</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/activiti-6-x-and-mail-task/m-p/39699#M16653</link>
      <description>&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;I have a simple BPMN diagram with just a Start --&amp;gt; Mail Task --&amp;gt; End&lt;/P&gt;&lt;P&gt;In the Mail Task I want set the "to", "from" and "Subject" using "expression"&lt;/P&gt;&lt;P&gt;my goal for example is to make the "to" (recipent of the mail), dynamic.. where the email address should be taken from the "application properties" and if missed as fixed&lt;/P&gt;&lt;P&gt;conceptually I want write similar to&lt;/P&gt;&lt;PRE&gt;{env.getProperty("mypropemailto") ? {env.getProperty("mypropemailto") : "alfresco@alfresco.com"}&lt;/PRE&gt;&lt;P&gt;there is a way to implement it ?&lt;/P&gt;&lt;P&gt;env.getProperty is just an example.. the idea is to get value from the activiti-app.properties&amp;nbsp; and so if set.. use it or if missed used a fixed one..&lt;/P&gt;&lt;P&gt;Reason: I have QA and PROD env.. and if both are deploying the same BPMN (becasue QA is a backup of PROD), really I don't want sent mail to real recipient but to a "specific one"&lt;BR /&gt;I cannot use process/task variable too.&lt;BR /&gt;&lt;BR /&gt;Can you suggest something ?&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;Rob&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 13:32:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/activiti-6-x-and-mail-task/m-p/39699#M16653</guid>
      <dc:creator>rmazzola</dc:creator>
      <dc:date>2023-09-05T13:32:05Z</dc:date>
    </item>
  </channel>
</rss>

