<?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: Signaling an event from unit test in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/signaling-an-event-from-unit-test/m-p/176342#M129472</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;Have a look on similar test from activiti sources:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;org.activiti.engine.test.api.runtime.RuntimeServiceTest#testSignalEventReceived&lt;/CODE&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, 23 Dec 2014 06:48:12 GMT</pubDate>
    <dc:creator>martin_grofcik</dc:creator>
    <dc:date>2014-12-23T06:48:12Z</dc:date>
    <item>
      <title>Signaling an event from unit test</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/signaling-an-event-from-unit-test/m-p/176340#M129470</link>
      <description>I'm trying to write a unit test for a stupid flow. Its xml definition is:&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&amp;lt;definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:activiti="</description>
      <pubDate>Tue, 23 Dec 2014 03:22:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/signaling-an-event-from-unit-test/m-p/176340#M129470</guid>
      <dc:creator>rmilovic</dc:creator>
      <dc:date>2014-12-23T03:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: Signaling an event from unit test</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/signaling-an-event-from-unit-test/m-p/176341#M129471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;One more thing. I've just found that &amp;lt;java&amp;gt;activityQuery.activityId("provisioningEndEvent").unfinished().singleResult();&amp;lt;/java&amp;gt; is also returning null. I would expect to see "provisioningEndEvent" in here. Or maybe not?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2014 03:54:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/signaling-an-event-from-unit-test/m-p/176341#M129471</guid>
      <dc:creator>rmilovic</dc:creator>
      <dc:date>2014-12-23T03:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Signaling an event from unit test</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/signaling-an-event-from-unit-test/m-p/176342#M129472</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;Have a look on similar test from activiti sources:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;org.activiti.engine.test.api.runtime.RuntimeServiceTest#testSignalEventReceived&lt;/CODE&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, 23 Dec 2014 06:48:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/signaling-an-event-from-unit-test/m-p/176342#M129472</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-12-23T06:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: Signaling an event from unit test</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/signaling-an-event-from-unit-test/m-p/176343#M129473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Martin. Looking at the example test you directed me to, I used this code in my test:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;java&amp;gt;List&amp;lt;Execution&amp;gt; page = runtimeService.createExecutionQuery().signalEventSubscriptionName("Provisioning is Done").listPage(0, 1);&amp;lt;/java&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But, returned list is empty and test is still failing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2014 12:27:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/signaling-an-event-from-unit-test/m-p/176343#M129473</guid>
      <dc:creator>rmilovic</dc:creator>
      <dc:date>2014-12-23T12:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: Signaling an event from unit test</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/signaling-an-event-from-unit-test/m-p/176344#M129474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It seems that parallel gateway was causing problems. I removed it and it worked. Out of curiosity, can someone explain why is it not working with the parallel gateway?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Dec 2014 13:38:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/signaling-an-event-from-unit-test/m-p/176344#M129474</guid>
      <dc:creator>rmilovic</dc:creator>
      <dc:date>2014-12-23T13:38:34Z</dc:date>
    </item>
  </channel>
</rss>

