<?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: Wrong executionId when using Error Boundary Event in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/wrong-executionid-when-using-error-boundary-event/m-p/227638#M180768</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;But why does Activiti give me an exceutionId in the JavaDelegate of Task 1, which is NOT the processIntanceId?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Mar 2016 09:21:56 GMT</pubDate>
    <dc:creator>bkonrad</dc:creator>
    <dc:date>2016-03-11T09:21:56Z</dc:date>
    <item>
      <title>Wrong executionId when using Error Boundary Event</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/wrong-executionid-when-using-error-boundary-event/m-p/227636#M180766</link>
      <description>Hi,i have a problem getting the correct executionId in a Service Task which has a Error Boundary Event defined:[img]https://drive.google.com/file/d/0B4B-GQHdB3Xta0dELTJiSVpQRms/view?usp=sharing[/img]https://drive.google.com/file/d/0B4B-GQHdB3Xta0dELTJiSVpQRms/view?usp=sharingWhen the processinstance</description>
      <pubDate>Thu, 10 Mar 2016 10:28:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/wrong-executionid-when-using-error-boundary-event/m-p/227636#M180766</guid>
      <dc:creator>bkonrad</dc:creator>
      <dc:date>2016-03-10T10:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong executionId when using Error Boundary Event</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/wrong-executionid-when-using-error-boundary-event/m-p/227637#M180767</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;jUnit test would help (&lt;/SPAN&gt;&lt;A href="https://forums.activiti.org/content/sticky-how-write-unit-test" rel="nofollow noopener noreferrer"&gt;https://forums.activiti.org/content/sticky-how-write-unit-test&lt;/A&gt;&lt;SPAN&gt;), but I would say that boundary event is registered with the process instanceId.&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>Fri, 11 Mar 2016 08:26:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/wrong-executionid-when-using-error-boundary-event/m-p/227637#M180767</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-03-11T08:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong executionId when using Error Boundary Event</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/wrong-executionid-when-using-error-boundary-event/m-p/227638#M180768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;But why does Activiti give me an exceutionId in the JavaDelegate of Task 1, which is NOT the processIntanceId?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2016 09:21:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/wrong-executionid-when-using-error-boundary-event/m-p/227638#M180768</guid>
      <dc:creator>bkonrad</dc:creator>
      <dc:date>2016-03-11T09:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong executionId when using Error Boundary Event</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/wrong-executionid-when-using-error-boundary-event/m-p/227639#M180769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Because a process instance is stored as an execution tree. The process instance does not visit the step, but a child execution does.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Use execution.getProcessInstanceId() from the execution in the JavaDelegate to get the process instance id.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2016 09:55:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/wrong-executionid-when-using-error-boundary-event/m-p/227639#M180769</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-03-11T09:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong executionId when using Error Boundary Event</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/wrong-executionid-when-using-error-boundary-event/m-p/227640#M180770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, this would solve my concrete problem here, but if I would like to reuse the same JavaDelegate in another process, where I have a parallel execution, i can not reuse it, because I need the specific executionId of my parallel execution&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2016 10:44:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/wrong-executionid-when-using-error-boundary-event/m-p/227640#M180770</guid>
      <dc:creator>bkonrad</dc:creator>
      <dc:date>2016-03-11T10:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong executionId when using Error Boundary Event</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/wrong-executionid-when-using-error-boundary-event/m-p/227641#M180771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Why would you need in one instance the specific execution id and in the other the process instance id? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It's generally not a good idea to depend on the structure of the execution tree in logic, as it is completely dependent on the actual process definition structure.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 08:32:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/wrong-executionid-when-using-error-boundary-event/m-p/227641#M180771</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-03-15T08:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong executionId when using Error Boundary Event</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/wrong-executionid-when-using-error-boundary-event/m-p/227642#M180772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You misunderstood me, what I mean is "in another process-definition" - not instance. We have many Processdefinitions, which use the same JavaDelegate Code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, having a Processdefinition with a Service Task in a parallel execution and having another Processdefinition with a Error-Boundary attached to a Service Task, both using the same JavaDelegate - what ID should I use? execution id vs. process instance id&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 11:53:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/wrong-executionid-when-using-error-boundary-event/m-p/227642#M180772</guid>
      <dc:creator>bkonrad</dc:creator>
      <dc:date>2016-03-15T11:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Wrong executionId when using Error Boundary Event</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/wrong-executionid-when-using-error-boundary-event/m-p/227643#M180773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm not misunderstanding you … I'll repeat my advice from previous comment: it's generally not a good practice to depend on the structure of the execution tree i.e. use the executionId.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2016 13:16:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/wrong-executionid-when-using-error-boundary-event/m-p/227643#M180773</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-03-18T13:16:19Z</dc:date>
    </item>
  </channel>
</rss>

