<?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: Accessing Flow id or name from DelegateExecution in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/accessing-flow-id-or-name-from-delegateexecution/m-p/81662#M54665</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The DelegateExecution does not seem to have any method which provides access to flow&amp;nbsp; name etc. If you know some trick to do it, please, provide some details.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Mar 2012 16:16:08 GMT</pubDate>
    <dc:creator>plehal</dc:creator>
    <dc:date>2012-03-01T16:16:08Z</dc:date>
    <item>
      <title>Accessing Flow id or name from DelegateExecution</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/accessing-flow-id-or-name-from-delegateexecution/m-p/81660#M54663</link>
      <description>How do I get Flow id or name from DelegateExecution object if I am listening on a flow/transition? There does not seem to be any method inside the listener which provides access to these attributes either directly or indirectly through access to RuntimeService etc.I know I can add fields to the flow</description>
      <pubDate>Thu, 01 Mar 2012 00:51:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/accessing-flow-id-or-name-from-delegateexecution/m-p/81660#M54663</guid>
      <dc:creator>plehal</dc:creator>
      <dc:date>2012-03-01T00:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Flow id or name from DelegateExecution</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/accessing-flow-id-or-name-from-delegateexecution/m-p/81661#M54664</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;I think, the execution passed into your notify() method implements DelegateExecution and this interfaces defines the methods you need.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;michael&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 07:32:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/accessing-flow-id-or-name-from-delegateexecution/m-p/81661#M54664</guid>
      <dc:creator>gant</dc:creator>
      <dc:date>2012-03-01T07:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Flow id or name from DelegateExecution</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/accessing-flow-id-or-name-from-delegateexecution/m-p/81662#M54665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The DelegateExecution does not seem to have any method which provides access to flow&amp;nbsp; name etc. If you know some trick to do it, please, provide some details.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 16:16:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/accessing-flow-id-or-name-from-delegateexecution/m-p/81662#M54665</guid>
      <dc:creator>plehal</dc:creator>
      <dc:date>2012-03-01T16:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Flow id or name from DelegateExecution</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/accessing-flow-id-or-name-from-delegateexecution/m-p/81663#M54666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;CODE&gt;&lt;BR /&gt;String processDefinitionName = repositoryService.createProcessDefinitionQuery().processDefinitionId(runtimeService.createProcessInstanceQuery().processInstanceId(execution.getProcessInstanceId).getProcessDefinitionId()).getName();&lt;BR /&gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 16:32:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/accessing-flow-id-or-name-from-delegateexecution/m-p/81663#M54666</guid>
      <dc:creator>gant</dc:creator>
      <dc:date>2012-03-01T16:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Flow id or name from DelegateExecution</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/accessing-flow-id-or-name-from-delegateexecution/m-p/81664#M54667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How do you get repositoryService or any service for that matter from DelegateExecution because at that time only object that is passed to the method is DelegateExecution?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 20:29:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/accessing-flow-id-or-name-from-delegateexecution/m-p/81664#M54667</guid>
      <dc:creator>plehal</dc:creator>
      <dc:date>2012-03-01T20:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Flow id or name from DelegateExecution</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/accessing-flow-id-or-name-from-delegateexecution/m-p/81665#M54668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This should help: &lt;/SPAN&gt;&lt;A href="http://www.activiti.org/userguide/index.html#apiEngine" rel="nofollow noopener noreferrer"&gt;http://www.activiti.org/userguide/index.html#apiEngine&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;ProcessEngines.getDefaultProcessEngine() will initialize and build a process engine the first time it is called and afterwards always return the same process engine.&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2012 08:35:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/accessing-flow-id-or-name-from-delegateexecution/m-p/81665#M54668</guid>
      <dc:creator>gant</dc:creator>
      <dc:date>2012-03-02T08:35:36Z</dc:date>
    </item>
  </channel>
</rss>

