<?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: Access to 'assembled' process definitions in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/access-to-assembled-process-definitions/m-p/227732#M180862</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, there isn't.&amp;nbsp; Order is not fixed, as you can have cycles in the process graph.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 May 2016 16:45:11 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2016-05-18T16:45:11Z</dc:date>
    <item>
      <title>Access to 'assembled' process definitions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/access-to-assembled-process-definitions/m-p/227727#M180857</link>
      <description>Greetings,We are currently working on building up a sort of 'wizard' style application that leverages Activiti under the covers to define the steps in the wizard. As a result, we have a number of User Tasks chained together in our Process Definitions, many/all of which are to be completed by a singl</description>
      <pubDate>Mon, 16 May 2016 13:33:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/access-to-assembled-process-definitions/m-p/227727#M180857</guid>
      <dc:creator>mackking-ns</dc:creator>
      <dc:date>2016-05-16T13:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Access to 'assembled' process definitions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/access-to-assembled-process-definitions/m-p/227728#M180858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Mackenzie,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes there is. You have to find start activity (In your case it is none start event). After that you can follow sequence flows to get to the right nodes.&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>Mon, 16 May 2016 20:09:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/access-to-assembled-process-definitions/m-p/227728#M180858</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-05-16T20:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: Access to 'assembled' process definitions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/access-to-assembled-process-definitions/m-p/227729#M180859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Martin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I have to effectively walk the contents of BpmnModel and build up the representation by hand?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ie:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;java&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BpmnModel bpmn = repositoryService.getBpmnModel(…);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;FlowElements start = bpmn.getMainProcess().getFlowElement("startElementId");&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;List&amp;lt;SequenceFlows&amp;gt; outgoing = start.getOutgoingFlows();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;for (SequenceFlows out : outgoing) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; String nextStep = out.getTargetRef();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; bpmn.getMainProcess().getFlowElement(nextStep);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; // repeat, walking my way through the model ??&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/java&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 May 2016 20:27:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/access-to-assembled-process-definitions/m-p/227729#M180859</guid>
      <dc:creator>mackking-ns</dc:creator>
      <dc:date>2016-05-16T20:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: Access to 'assembled' process definitions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/access-to-assembled-process-definitions/m-p/227730#M180860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Mackenzie,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another possibility is to search by type.&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>Tue, 17 May 2016 07:20:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/access-to-assembled-process-definitions/m-p/227730#M180860</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-05-17T07:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: Access to 'assembled' process definitions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/access-to-assembled-process-definitions/m-p/227731#M180861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You mean via List &amp;amp;lt;FlowElementType&amp;amp;gt; Process.findFlowElementsOfType(FlowElementType.class) ??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This seems to return the list of UserTasks in XML file source order. Is there no way to retrieve them in logical/process order?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2016 13:01:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/access-to-assembled-process-definitions/m-p/227731#M180861</guid>
      <dc:creator>mackking-ns</dc:creator>
      <dc:date>2016-05-17T13:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: Access to 'assembled' process definitions</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/access-to-assembled-process-definitions/m-p/227732#M180862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, there isn't.&amp;nbsp; Order is not fixed, as you can have cycles in the process graph.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 16:45:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/access-to-assembled-process-definitions/m-p/227732#M180862</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-05-18T16:45:11Z</dc:date>
    </item>
  </channel>
</rss>

