<?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 Specifying recipient of MailTask as a user's email attribute in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/specifying-recipient-of-mailtask-as-a-user-s-email-attribute/m-p/178858#M131988</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a BPMN flow which contains:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. A UserTask where someone assigns a user to the process variable 'thirdParty', followed by&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. A MailTask that is supposed to send an email to the email address associated with the thirdParty user object, referring to them by name in the body of the email.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why I want this: it seems messy and laborious (and not very OO) to carry around a set of process variables giving each property of a single user. Passing these into other flows via CallTask would also be a huge pain.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried just putting &amp;lt;activiti:field name="to"&amp;gt;&amp;lt;activiti:expression&amp;gt;${thirdParty.email}&amp;lt;/activiti:expression&amp;gt;&amp;lt;/activiti:field&amp;gt; (with ${thirdParty.name} embedded in the 'text' field), but I get an 'Unknown property' error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Am I required to write a ServiceTask with custom code that takes in a process variable of type User and outputs several process variables? Or is there a more lightweight, out-of-the-box solution?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Duncan.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Jan 2015 01:16:48 GMT</pubDate>
    <dc:creator>asinoladro</dc:creator>
    <dc:date>2015-01-06T01:16:48Z</dc:date>
    <item>
      <title>Specifying recipient of MailTask as a user's email attribute</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/specifying-recipient-of-mailtask-as-a-user-s-email-attribute/m-p/178858#M131988</link>
      <description>Hello,I have a BPMN flow which contains:1. A UserTask where someone assigns a user to the process variable 'thirdParty', followed by2. A MailTask that is supposed to send an email to the email address associated with the thirdParty user object, referring to them by name in the body of the email.Why</description>
      <pubDate>Tue, 06 Jan 2015 01:16:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/specifying-recipient-of-mailtask-as-a-user-s-email-attribute/m-p/178858#M131988</guid>
      <dc:creator>asinoladro</dc:creator>
      <dc:date>2015-01-06T01:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: Specifying recipient of MailTask as a user's email attribute</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/specifying-recipient-of-mailtask-as-a-user-s-email-attribute/m-p/178859#M131989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can use the textVar property to make sure the expressions are resolved. It should be able to resolve the process variable values.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 14:52:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/specifying-recipient-of-mailtask-as-a-user-s-email-attribute/m-p/178859#M131989</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2015-01-08T14:52:58Z</dc:date>
    </item>
  </channel>
</rss>

