<?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 Re: Timer Boundary Event and User task assignee in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/timer-boundary-event-and-user-task-assignee/m-p/43837#M17994</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks axel, very clear.&lt;/P&gt;&lt;P&gt;So is there any simple way to send a reminder email&amp;nbsp;to user task assignee after a given period of time ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 13 May 2018 19:08:49 GMT</pubDate>
    <dc:creator>vincent-kali</dc:creator>
    <dc:date>2018-05-13T19:08:49Z</dc:date>
    <item>
      <title>Timer Boundary Event and User task assignee</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/timer-boundary-event-and-user-task-assignee/m-p/43835#M17992</link>
      <description>I want to send an email reminder to each user task assignee (multiinstance task) after a given period a time. A Timer&amp;nbsp;Event&amp;nbsp;is bound to the user task and triggers a service task (AlfrescoScriptDelegate) that should send an email to the user task assignee.My problem/question:&amp;nbsp;&amp;nbsp;&amp;nbsp;Task&amp;nbsp;object is not ava</description>
      <pubDate>Fri, 11 May 2018 22:19:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/timer-boundary-event-and-user-task-assignee/m-p/43835#M17992</guid>
      <dc:creator>vincent-kali</dc:creator>
      <dc:date>2018-05-11T22:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: Timer Boundary Event and User task assignee</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/timer-boundary-event-and-user-task-assignee/m-p/43836#M17993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no task because you are not executing a task listener - only the ScriptTaskListener class will have the "task" variable set as a global variable in JavaScript. Also, you&amp;nbsp;could not have accessed the assigned user from the task variable anyway, since the task you are executing the JavaScript in isn't a user task (it is a service task) and as such does not have an assignee. You would need to execute a task query via the low-level Activiti RuntimeService to find and access the user task to which your boundary event is attached.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 May 2018 13:50:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/timer-boundary-event-and-user-task-assignee/m-p/43836#M17993</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2018-05-13T13:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: Timer Boundary Event and User task assignee</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/timer-boundary-event-and-user-task-assignee/m-p/43837#M17994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks axel, very clear.&lt;/P&gt;&lt;P&gt;So is there any simple way to send a reminder email&amp;nbsp;to user task assignee after a given period of time ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 May 2018 19:08:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/timer-boundary-event-and-user-task-assignee/m-p/43837#M17994</guid>
      <dc:creator>vincent-kali</dc:creator>
      <dc:date>2018-05-13T19:08:49Z</dc:date>
    </item>
    <item>
      <title>Re: Timer Boundary Event and User task assignee</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/timer-boundary-event-and-user-task-assignee/m-p/43838#M17995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are asking "so simple I don't have to code anything", then no. Otherwise it is quite easy - implement your JavaScript service delegate, use the root scope object "workflows" (WorkflowManager) to query for active tasks in the current workflow - maybe filter for the&amp;nbsp;previous task ID if you have parallel execution paths - and then use the email action to send the mail. For an easy implementation the Alfresco "workflows" root scope object may suffice - I usually don't use it because it hides quite a bit of information that I usually need, but for a reminder you may not need such internals...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2018 10:22:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/timer-boundary-event-and-user-task-assignee/m-p/43838#M17995</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2018-05-15T10:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: Timer Boundary Event and User task assignee</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/timer-boundary-event-and-user-task-assignee/m-p/43839#M17996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok thanks I'll try this way.&lt;/P&gt;&lt;P&gt;Just one thing: could you please explain "maybe filter for the&amp;nbsp;previous task ID if you have parallel execution paths" ?&lt;/P&gt;&lt;P&gt;(I'm not 100% sure how to deal with paths to get previous task...)&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2018 10:33:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/timer-boundary-event-and-user-task-assignee/m-p/43839#M17996</guid>
      <dc:creator>vincent-kali</dc:creator>
      <dc:date>2018-05-15T10:33:07Z</dc:date>
    </item>
  </channel>
</rss>

