<?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: DelegateExecution in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/delegateexecution/m-p/110496#M77645</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is it possible to query the RuntimeService and RepositoryService, as an alternative, to obtain the information currently not exposed through the DelegateExecution interface? One problem I have encountered is that retrieving the process instance via the listed services will not work unless the BMPN flow has previously passed through a step that caused the process instance information to be persisted. Are there any alternatives, as I would like to avoid casting the interface to its implementation class?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please note the fields I am after are the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- ProcessDefinitionName&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- ProcessDefinitionId&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Looking at the DelegateExecution interface under the 5.10 tag (&lt;/SPAN&gt;&lt;A href="http://svn.codehaus.org/activiti/activiti/tags/activiti-5.10/modules/activiti-engine/src/main/java/org/activiti/engine/delegate/DelegateExecution.java" rel="nofollow noopener noreferrer"&gt;http://svn.codehaus.org/activiti/activiti/tags/activiti-5.10/modules/activiti-engine/src/main/java/org/activiti/engine/delegate/DelegateExecution.java&lt;/A&gt;&lt;SPAN&gt;), it would seem the ProcessDefinitionId will be exposed, but the comments are a little confusing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&amp;nbsp; /**&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * The process definition key for the process instance this execution is associated with.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; */&lt;BR /&gt;&amp;nbsp; String getProcessDefinitionId();&lt;/CODE&gt;&lt;SPAN&gt;Will the function reveal the process definition key or id?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Luka&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Aug 2012 07:22:26 GMT</pubDate>
    <dc:creator>luka</dc:creator>
    <dc:date>2012-08-09T07:22:26Z</dc:date>
    <item>
      <title>DelegateExecution</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/delegateexecution/m-p/110494#M77643</link>
      <description>I have implemented a JavaDelegate and have found that the DelegateExecution interface just doesnt give me enough information from what I know is available through the implementation.In particular I would like: public String getProcessDefinitionId() public String getParent()</description>
      <pubDate>Wed, 04 Jul 2012 03:36:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/delegateexecution/m-p/110494#M77643</guid>
      <dc:creator>wslade</dc:creator>
      <dc:date>2012-07-04T03:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: DelegateExecution</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/delegateexecution/m-p/110495#M77644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That seems like a valid addition to the DelegateExecution interface. I'll make sure they're added to the 5.10. In the mean time, I guess there is no other option than casting to the implementation-class…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 06:15:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/delegateexecution/m-p/110495#M77644</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-07-04T06:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: DelegateExecution</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/delegateexecution/m-p/110496#M77645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is it possible to query the RuntimeService and RepositoryService, as an alternative, to obtain the information currently not exposed through the DelegateExecution interface? One problem I have encountered is that retrieving the process instance via the listed services will not work unless the BMPN flow has previously passed through a step that caused the process instance information to be persisted. Are there any alternatives, as I would like to avoid casting the interface to its implementation class?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please note the fields I am after are the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- ProcessDefinitionName&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- ProcessDefinitionId&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Looking at the DelegateExecution interface under the 5.10 tag (&lt;/SPAN&gt;&lt;A href="http://svn.codehaus.org/activiti/activiti/tags/activiti-5.10/modules/activiti-engine/src/main/java/org/activiti/engine/delegate/DelegateExecution.java" rel="nofollow noopener noreferrer"&gt;http://svn.codehaus.org/activiti/activiti/tags/activiti-5.10/modules/activiti-engine/src/main/java/org/activiti/engine/delegate/DelegateExecution.java&lt;/A&gt;&lt;SPAN&gt;), it would seem the ProcessDefinitionId will be exposed, but the comments are a little confusing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&amp;nbsp; /**&lt;BR /&gt;&amp;nbsp;&amp;nbsp; * The process definition key for the process instance this execution is associated with.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; */&lt;BR /&gt;&amp;nbsp; String getProcessDefinitionId();&lt;/CODE&gt;&lt;SPAN&gt;Will the function reveal the process definition key or id?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Luka&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2012 07:22:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/delegateexecution/m-p/110496#M77645</guid>
      <dc:creator>luka</dc:creator>
      <dc:date>2012-08-09T07:22:26Z</dc:date>
    </item>
  </channel>
</rss>

