<?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 Task listener x Service Task: when do i use each of them? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/task-listener-x-service-task-when-do-i-use-each-of-them/m-p/192292#M145422</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;SPAN&gt;I don't know if it's a very basic doubt, but when should i use task listener and service task? I can use expressions in both (execute a java code for example), but if i use in service task the design of my process show it, different if i use task listeners (Is there another difference?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a user task: "handle dog", when i complete this task i need to do two business validation rules and an update in database table.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know what is the best:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1- Create a service task after a user task is completed or;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2- Put this execution inside the user task using task listener with complete attribute.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone could help me?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PS: I don't want drools (not now) for validations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thnks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 May 2015 17:10:14 GMT</pubDate>
    <dc:creator>rafaelduqueestr</dc:creator>
    <dc:date>2015-05-25T17:10:14Z</dc:date>
    <item>
      <title>Task listener x Service Task: when do i use each of them?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/task-listener-x-service-task-when-do-i-use-each-of-them/m-p/192292#M145422</link>
      <description>Hi,I don't know if it's a very basic doubt, but when should i use task listener and service task? I can use expressions in both (execute a java code for example), but if i use in service task the design of my process show it, different if i use task listeners (Is there another difference?)For exampl</description>
      <pubDate>Mon, 25 May 2015 17:10:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/task-listener-x-service-task-when-do-i-use-each-of-them/m-p/192292#M145422</guid>
      <dc:creator>rafaelduqueestr</dc:creator>
      <dc:date>2015-05-25T17:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: Task listener x Service Task: when do i use each of them?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/task-listener-x-service-task-when-do-i-use-each-of-them/m-p/192293#M145423</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;there are differences in the execution, but they are not important from your point of view.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My decision would be based on the process model readability.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 07:30:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/task-listener-x-service-task-when-do-i-use-each-of-them/m-p/192293#M145423</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2015-05-26T07:30:26Z</dc:date>
    </item>
  </channel>
</rss>

