<?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: How to get the 'ActivityId' from an execution in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-the-activityid-from-an-execution/m-p/96484#M66297</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;AFAIK, the execution Id will be same for all activities in a sequence. The execution Id changes for a parallel flows. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To get details of the activity in the java delegate, you can use org.activiti.engine.impl.pvm.delegate.ActivityExecution in the java delegate like here [1], but I am not sure if this is the right way to get the details as this class is in the impl package (not a public API). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[1] &lt;/SPAN&gt;&lt;A href="https://code.google.com/p/activiti-karaf/source/browse/trunk/activiti-karaf-examples/hello-activiti-example/src/main/java/org/activiti/karaf/examples/hello/PrintService.java#34" rel="nofollow noopener noreferrer"&gt;https://code.google.com/p/activiti-karaf/source/browse/trunk/activiti-karaf-examples/hello-activiti-example/src/main/java/org/activiti/karaf/examples/hello/PrintService.java#34&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Srinivasan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Apr 2012 05:40:51 GMT</pubDate>
    <dc:creator>schikkal</dc:creator>
    <dc:date>2012-04-09T05:40:51Z</dc:date>
    <item>
      <title>How to get the 'ActivityId' from an execution</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-the-activityid-from-an-execution/m-p/96483#M66296</link>
      <description>Using Runtime Service, or Execution, how can we get the activity id of the current activity?For example, consider the case of this simple process consisting of three Java Service tasks:[attachment=0]MyProcess.png[/attachment]Let's the the process instance id 1001. Then in the Java Delegate code, if</description>
      <pubDate>Sat, 07 Apr 2012 02:58:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-the-activityid-from-an-execution/m-p/96483#M66296</guid>
      <dc:creator>jjfutt</dc:creator>
      <dc:date>2012-04-07T02:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the 'ActivityId' from an execution</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-get-the-activityid-from-an-execution/m-p/96484#M66297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;AFAIK, the execution Id will be same for all activities in a sequence. The execution Id changes for a parallel flows. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To get details of the activity in the java delegate, you can use org.activiti.engine.impl.pvm.delegate.ActivityExecution in the java delegate like here [1], but I am not sure if this is the right way to get the details as this class is in the impl package (not a public API). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[1] &lt;/SPAN&gt;&lt;A href="https://code.google.com/p/activiti-karaf/source/browse/trunk/activiti-karaf-examples/hello-activiti-example/src/main/java/org/activiti/karaf/examples/hello/PrintService.java#34" rel="nofollow noopener noreferrer"&gt;https://code.google.com/p/activiti-karaf/source/browse/trunk/activiti-karaf-examples/hello-activiti-example/src/main/java/org/activiti/karaf/examples/hello/PrintService.java#34&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Srinivasan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2012 05:40:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-get-the-activityid-from-an-execution/m-p/96484#M66297</guid>
      <dc:creator>schikkal</dc:creator>
      <dc:date>2012-04-09T05:40:51Z</dc:date>
    </item>
  </channel>
</rss>

