<?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 listening to delegation events in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/listening-to-delegation-events/m-p/72220#M46900</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi guys, I would like to&lt;/SPAN&gt;&lt;EM&gt; trigger some action whenever the delegation of some task change&lt;/EM&gt;&lt;SPAN&gt;s.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here are my attempts - unfortunately they all failed&lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://connect.hyland.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. I have tried to &lt;/SPAN&gt;&lt;EM&gt;implement a TaskListener&lt;/EM&gt;&lt;SPAN&gt; which I &lt;/SPAN&gt;&lt;EM&gt;attached globally&lt;/EM&gt;&lt;SPAN&gt; (in the designer by adding a listener to the process) to a process: this does not seem &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to be possible as my class has to implement ExecutionListener, so I&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. configured my TaskListener on every UserTask. This works when a task is being created or the assignment changes but in my application &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the user can delegate the task to some user user/groups and as this does not commit the task itself my TaskListener does not get notified at all. So I tried&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. to add a custom BpmnParseListener to add a ExecutionListener in the parseUserTask method but also this does not get called.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, is there a way to get notified whenever the delegation is changed using the API call TaskService.addCandidateGroup or TaskService.addCandidateUser?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I really comfortable solution would be to get notified in a TaskListener implementatiom I can attach to the process - it is really a paid to configure&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the listener with every event and every task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; c&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Oct 2011 13:48:52 GMT</pubDate>
    <dc:creator>christoph_retti</dc:creator>
    <dc:date>2011-10-28T13:48:52Z</dc:date>
    <item>
      <title>listening to delegation events</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/listening-to-delegation-events/m-p/72220#M46900</link>
      <description>Hi guys, I would like to trigger some action whenever the delegation of some task changes.Here are my attempts - unfortunately they all failed&lt;IMG id="smileysad" class="emoticon emoticon-smileysad" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;1. I have tried to implement a TaskListener which I attached globally (in the designer by adding a listener to the process) to a process: this does not seem</description>
      <pubDate>Fri, 28 Oct 2011 13:48:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/listening-to-delegation-events/m-p/72220#M46900</guid>
      <dc:creator>christoph_retti</dc:creator>
      <dc:date>2011-10-28T13:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: listening to delegation events</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/listening-to-delegation-events/m-p/72221#M46901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Right I understand your problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It won't be too hard to add a couple of additional task listeners. Would that solve your issues?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Would you be interested in contributing a patch for this?&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>Sat, 29 Oct 2011 15:37:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/listening-to-delegation-events/m-p/72221#M46901</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-10-29T15:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: listening to delegation events</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/listening-to-delegation-events/m-p/72222#M46902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, I think I could give it a try if you give me a hint on where I should start – assumed that I manage to compile the engine trunk sources&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; c&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2011 08:09:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/listening-to-delegation-events/m-p/72222#M46902</guid>
      <dc:creator>christoph_retti</dc:creator>
      <dc:date>2011-10-31T08:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: listening to delegation events</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/listening-to-delegation-events/m-p/72223#M46903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Great. The TaskListeners are parsed in the BpmnParse class in the parseTaskListeners method. There you should add the new event names.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then in the UserTaskActivityBehavior class the create event is thrown and in the TaskEntity class the complete and assignment events.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In the TaskEntity class you could add more events like the delegation events.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me know if things aren't clear. It's also important to add a couple of unit tests like the CustomTaskAssignmentTest class.&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>Mon, 31 Oct 2011 08:44:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/listening-to-delegation-events/m-p/72223#M46903</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-10-31T08:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: listening to delegation events</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/listening-to-delegation-events/m-p/72224#M46904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi again, I checked out the trunk sources from svn but having problems building it using Eclipse Indigo (on windows 7, 64bit).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In eclipse I first tried to compile using Java 6 but as this didn't seem to work I installed a Java 5 SDK and got rid of many errors that seem to come&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;with java reference implementations (scripting, ..) that are already present in java 6.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From what I see most of the errors (I am just looking at the first 500) are class references that cannot be found or junit classes that are missing. As in the pom's junit is&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;specified as provided I would say that there is some problem with the maven container that seems to be unable to provide the dependencies.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there anything besides installing subversion and the maven2eclipse plugins that should be configured?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; c&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2011 14:03:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/listening-to-delegation-events/m-p/72224#M46904</guid>
      <dc:creator>christoph_retti</dc:creator>
      <dc:date>2011-11-01T14:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: listening to delegation events</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/listening-to-delegation-events/m-p/72225#M46905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok, now I managed to build everything in eclipse too, so forget the last posting.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The filled out contriibution agreement is on the way to the address specified in the document, I hope to find some time to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;fix the things within the next weeks&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; c&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2011 13:12:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/listening-to-delegation-events/m-p/72225#M46905</guid>
      <dc:creator>christoph_retti</dc:creator>
      <dc:date>2011-11-11T13:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: listening to delegation events</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/listening-to-delegation-events/m-p/72226#M46906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, I have sent a contribution agreement about 2 months ago without getting a reply - did it get lost? I would like to get this thing implemented&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; c&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Dec 2011 15:08:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/listening-to-delegation-events/m-p/72226#M46906</guid>
      <dc:creator>christoph_retti</dc:creator>
      <dc:date>2011-12-26T15:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: listening to delegation events</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/listening-to-delegation-events/m-p/72227#M46907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'll ask the project lead if he received the contribution agreement.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But if you've sent it please feel free to start with the contribution.&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>Tue, 27 Dec 2011 09:15:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/listening-to-delegation-events/m-p/72227#M46907</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-12-27T09:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: listening to delegation events</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/listening-to-delegation-events/m-p/72228#M46908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I asked, but we didn't receive a contribution agreement, or it did get lost somehow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you resend it please and give me a ping?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Dec 2011 14:51:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/listening-to-delegation-events/m-p/72228#M46908</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-12-27T14:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: listening to delegation events</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/listening-to-delegation-events/m-p/72229#M46909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Your post have the information that is help full and very informative. I would like you to keep up the good work you know how to make your post understandable for most of the people.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thumbs up and Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2012 10:50:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/listening-to-delegation-events/m-p/72229#M46909</guid>
      <dc:creator>bryanmaviss</dc:creator>
      <dc:date>2012-01-03T10:50:09Z</dc:date>
    </item>
  </channel>
</rss>

