<?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: &amp;lt;bpmndi:BPMNShape&amp;gt; Is Missing for participant and lane element in xml when trying to create pool and lane from java source  in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/lt-bpmndi-bpmnshape-gt-is-missing-for-participant-and-lane/m-p/35318#M14890</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looking at the source for the DI Export here:&lt;BR /&gt;&lt;A class="link-titled" href="https://github.com/Activiti/Activiti/blob/activiti-5.22.0/modules/activiti-bpmn-converter/src/main/java/org/activiti/bpmn/converter/export/BPMNDIExport.java" title="https://github.com/Activiti/Activiti/blob/activiti-5.22.0/modules/activiti-bpmn-converter/src/main/java/org/activiti/bpmn/converter/export/BPMNDIExport.java" rel="nofollow noopener noreferrer"&gt;Activiti/BPMNDIExport.java at activiti-5.22.0 · Activiti/Activiti · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is called by the BpmnXMLConverter.convertToXML() method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't see any DI code to capture the pool or lane information.&lt;/P&gt;&lt;P&gt;Likely this was considered too difficult when given a bare BPMN model such as what you have.&lt;/P&gt;&lt;P&gt;Your only real option would be to overload this class and add your own pool and lane code to add these shapes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry,&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 May 2017 15:40:33 GMT</pubDate>
    <dc:creator>gdharley</dc:creator>
    <dc:date>2017-05-16T15:40:33Z</dc:date>
    <item>
      <title>&lt;bpmndi:BPMNShape&gt; Is Missing for participant and lane element in xml when trying to create pool and lane from java source</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/lt-bpmndi-bpmnshape-gt-is-missing-for-participant-and-lane/m-p/35317#M14889</link>
      <description>Here is the&amp;nbsp;code snippet I am writing to generate simple .bpmn filepublic void testDynamicDeploy() throws Exception {&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;BpmnModel model = new BpmnModel();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Process process = new Process();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;model.addProcess(process);&amp;nbsp; &amp;nbsp; &amp;nbsp; process.setId("process");&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;process.addFlowElement(createStartEv</description>
      <pubDate>Mon, 15 May 2017 17:38:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/lt-bpmndi-bpmnshape-gt-is-missing-for-participant-and-lane/m-p/35317#M14889</guid>
      <dc:creator>vkhan59</dc:creator>
      <dc:date>2017-05-15T17:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: &lt;bpmndi:BPMNShape&gt; Is Missing for participant and lane element in xml when trying to create pool and lane from java source</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/lt-bpmndi-bpmnshape-gt-is-missing-for-participant-and-lane/m-p/35318#M14890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looking at the source for the DI Export here:&lt;BR /&gt;&lt;A class="link-titled" href="https://github.com/Activiti/Activiti/blob/activiti-5.22.0/modules/activiti-bpmn-converter/src/main/java/org/activiti/bpmn/converter/export/BPMNDIExport.java" title="https://github.com/Activiti/Activiti/blob/activiti-5.22.0/modules/activiti-bpmn-converter/src/main/java/org/activiti/bpmn/converter/export/BPMNDIExport.java" rel="nofollow noopener noreferrer"&gt;Activiti/BPMNDIExport.java at activiti-5.22.0 · Activiti/Activiti · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is called by the BpmnXMLConverter.convertToXML() method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't see any DI code to capture the pool or lane information.&lt;/P&gt;&lt;P&gt;Likely this was considered too difficult when given a bare BPMN model such as what you have.&lt;/P&gt;&lt;P&gt;Your only real option would be to overload this class and add your own pool and lane code to add these shapes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry,&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2017 15:40:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/lt-bpmndi-bpmnshape-gt-is-missing-for-participant-and-lane/m-p/35318#M14890</guid>
      <dc:creator>gdharley</dc:creator>
      <dc:date>2017-05-16T15:40:33Z</dc:date>
    </item>
  </channel>
</rss>

