<?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: testing serviceTasks in the workflow in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/testing-servicetasks-in-the-workflow/m-p/189309#M142439</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;BLOCKQUOTE class="jive-quote"&gt;Question. Why does the serviceTask 1 class automatically execute, since there is no serviceTask test written for it ( which is because I automatically see it execute ) Must I have a test for the serviceTask1 to make this work?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Service tasks are executed automatically according to definition (e.g. &lt;/SPAN&gt;&lt;A href="http://www.activiti.org/userguide/#bpmnJavaServiceTask" rel="nofollow noopener noreferrer"&gt;http://www.activiti.org/userguide/#bpmnJavaServiceTask&lt;/A&gt;&lt;SPAN&gt;). It just call the logic when the execution arrives to this task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Question. How does the serviceTask1 show activiti that it has completed successfully?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;There are history tables in which events and execution history is stored. You can reproduce the call from history tables and process definition .&lt;/SPAN&gt;&lt;BR /&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>Fri, 11 Jul 2014 05:00:03 GMT</pubDate>
    <dc:creator>martin_grofcik</dc:creator>
    <dc:date>2014-07-11T05:00:03Z</dc:date>
    <item>
      <title>testing serviceTasks in the workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/testing-servicetasks-in-the-workflow/m-p/189308#M142438</link>
      <description>I think I am missing some functional concepts in what I need to know to properly unit test my activiti workflow.The workflow is like this:userTask 1 -&amp;gt; serviceTask 1 -&amp;gt; exclusive gateway 1 -&amp;gt; userTask 2 -&amp;gt; exclusive gateway 2 -&amp;gt; serviceTask 2 -&amp;gt; enddecisions at either exclusive gat</description>
      <pubDate>Thu, 10 Jul 2014 15:02:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/testing-servicetasks-in-the-workflow/m-p/189308#M142438</guid>
      <dc:creator>lawandco</dc:creator>
      <dc:date>2014-07-10T15:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: testing serviceTasks in the workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/testing-servicetasks-in-the-workflow/m-p/189309#M142439</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;BLOCKQUOTE class="jive-quote"&gt;Question. Why does the serviceTask 1 class automatically execute, since there is no serviceTask test written for it ( which is because I automatically see it execute ) Must I have a test for the serviceTask1 to make this work?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Service tasks are executed automatically according to definition (e.g. &lt;/SPAN&gt;&lt;A href="http://www.activiti.org/userguide/#bpmnJavaServiceTask" rel="nofollow noopener noreferrer"&gt;http://www.activiti.org/userguide/#bpmnJavaServiceTask&lt;/A&gt;&lt;SPAN&gt;). It just call the logic when the execution arrives to this task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Question. How does the serviceTask1 show activiti that it has completed successfully?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;There are history tables in which events and execution history is stored. You can reproduce the call from history tables and process definition .&lt;/SPAN&gt;&lt;BR /&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>Fri, 11 Jul 2014 05:00:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/testing-servicetasks-in-the-workflow/m-p/189309#M142439</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-07-11T05:00:03Z</dc:date>
    </item>
  </channel>
</rss>

