<?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: Process image in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/process-image/m-p/65980#M41827</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you trademak.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me ask you one more thing…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I get the pde object? I search inside documentation and I don't find anything about it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jul 2011 14:39:54 GMT</pubDate>
    <dc:creator>franklin</dc:creator>
    <dc:date>2011-07-26T14:39:54Z</dc:date>
    <item>
      <title>Process image</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-image/m-p/65978#M41825</link>
      <description>Hi all,Is it possible to get the process image with current situation of the process?I mean, get the image process showing the current task with diferent color?I know that is possible to get the process imagem by this code&lt;IMG id="smileytongue" class="emoticon emoticon-smileytongue" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;rocessDefinition processDefinition = repositoryService.createProcessDefiniti</description>
      <pubDate>Tue, 26 Jul 2011 12:48:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-image/m-p/65978#M41825</guid>
      <dc:creator>franklin</dc:creator>
      <dc:date>2011-07-26T12:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: Process image</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-image/m-p/65979#M41826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sure,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ProcessDiagramGenerator.generateDiagram(pde, "png", getRuntimeService().getActiveActivityIds(processInstanceId));&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2011 14:04:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-image/m-p/65979#M41826</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-07-26T14:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: Process image</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-image/m-p/65980#M41827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you trademak.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me ask you one more thing…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I get the pde object? I search inside documentation and I don't find anything about it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2011 14:39:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-image/m-p/65980#M41827</guid>
      <dc:creator>franklin</dc:creator>
      <dc:date>2011-07-26T14:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Process image</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-image/m-p/65981#M41828</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;Trying the same with:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;String processDefinitionId = taskService.createTaskQuery().taskId(getCurrentTaskId()).singleResult().getProcessDefinitionId();&lt;BR /&gt;&amp;nbsp; String executionId = taskService.createTaskQuery().taskId(getCurrentTaskId()).singleResult().getExecutionId();&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; InputStream imageStream = ProcessDiagramGenerator.generateDiagram((ProcessDefinitionEntity)repositoryService.createProcessDefinitionQuery().processDefinitionId(processDefinitionId).singleResult(), "png", runtimeService.getActiveActivityIds(executionId));&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;This ends up with the following Exception:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;Caused by: java.awt.image.RasterFormatException: (x + width) is outside raster&lt;BR /&gt; at sun.awt.image.IntegerInterleavedRaster.createWritableChild(IntegerInterleavedRaster.java:450)&lt;BR /&gt; at java.awt.image.BufferedImage.getSubimage(BufferedImage.java:1156)&lt;BR /&gt; at org.activiti.engine.impl.bpmn.diagram.ProcessDiagramCanvas.generateImage(ProcessDiagramCanvas.java:164)&lt;BR /&gt; at org.activiti.engine.impl.bpmn.diagram.ProcessDiagramGenerator.generateDiagram(ProcessDiagramGenerator.java:220)&lt;BR /&gt; at ch.itartis.engine.ui.ApproveRequestBean.getProcessImage(ApproveRequestBean.java:70)&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)&lt;BR /&gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&lt;BR /&gt; at java.lang.reflect.Method.invoke(Method.java:597)&lt;BR /&gt; at javax.el.BeanELResolver.getValue(BeanELResolver.java:62)&lt;BR /&gt; at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54)&lt;BR /&gt; at org.apache.myfaces.el.unified.resolver.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:142)&lt;BR /&gt; at org.apache.el.parser.AstValue.getValue(AstValue.java:123)&lt;BR /&gt; at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)&lt;BR /&gt; at org.apache.myfaces.view.facelets.el.TagValueExpression.getValue(TagValueExpression.java:85)&lt;BR /&gt; at javax.faces.component._DeltaStateHelper.eval(_DeltaStateHelper.java:246)&lt;BR /&gt; at javax.faces.component.UIGraphic.getValue(UIGraphic.java:105)&lt;BR /&gt; at org.primefaces.component.graphicimage.GraphicImageRenderer.encodeEnd(GraphicImageRenderer.java:39)&lt;BR /&gt; at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:519)&lt;BR /&gt; at javax.faces.component.UIComponent.encodeAll(UIComponent.java:672)&lt;BR /&gt; at javax.faces.component.UIComponent.encodeAll(UIComponent.java:668)&lt;BR /&gt; at javax.faces.component.UIComponent.encodeAll(UIComponent.java:668)&lt;BR /&gt; at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.renderView(FaceletViewDeclarationLanguage.java:1483)&lt;BR /&gt; at org.apache.myfaces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:281)&lt;BR /&gt; at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:85)&lt;BR /&gt; at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:239)&lt;BR /&gt; … 13 more&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;Then I tried this (to make sure, that it's nothing to do with the 'AcitveActivities':&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;InputStream imageStream = ProcessDiagramGenerator.generatePngDiagram((ProcessDefinitionEntity)repositoryService.createProcessDefinitionQuery().processDefinitionId(processDefinitionId).singleResult());&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;and received:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt; java.awt.image.RasterFormatException: (x + width) is outside raster&lt;BR /&gt; at sun.awt.image.IntegerInterleavedRaster.createWritableChild(IntegerInterleavedRaster.java:450)&lt;BR /&gt; at java.awt.image.BufferedImage.getSubimage(BufferedImage.java:1156)&lt;BR /&gt; at org.activiti.engine.impl.bpmn.diagram.ProcessDiagramCanvas.generateImage(ProcessDiagramCanvas.java:164)&lt;BR /&gt; at org.activiti.engine.impl.bpmn.diagram.ProcessDiagramGenerator.generateDiagram(ProcessDiagramGenerator.java:220)&lt;BR /&gt; at org.activiti.engine.impl.bpmn.diagram.ProcessDiagramGenerator.generatePngDiagram(ProcessDiagramGenerator.java:199)&lt;BR /&gt; at ch.itartis.engine.ui.ApproveRequestBean.getProcessImage(ApproveRequestBean.java:78)&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)&lt;BR /&gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&lt;BR /&gt; at java.lang.reflect.Method.invoke(Method.java:597)&lt;BR /&gt; at javax.el.BeanELResolver.getValue(BeanELResolver.java:62)&lt;BR /&gt; at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54)&lt;BR /&gt; at org.apache.myfaces.el.unified.resolver.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:142)&lt;BR /&gt; at org.apache.el.parser.AstValue.getValue(AstValue.java:123)&lt;BR /&gt; at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)&lt;BR /&gt; at org.apache.myfaces.view.facelets.el.TagValueExpression.getValue(TagValueExpression.java:85)&lt;BR /&gt; at javax.faces.component._DeltaStateHelper.eval(_DeltaStateHelper.java:246)&lt;BR /&gt; at javax.faces.component.UIGraphic.getValue(UIGraphic.java:105)&lt;BR /&gt; at org.primefaces.component.graphicimage.GraphicImageRenderer.encodeEnd(GraphicImageRenderer.java:39)&lt;BR /&gt; at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:519)&lt;BR /&gt; at javax.faces.component.UIComponent.encodeAll(UIComponent.java:672)&lt;BR /&gt; at javax.faces.component.UIComponent.encodeAll(UIComponent.java:668)&lt;BR /&gt; at javax.faces.component.UIComponent.encodeAll(UIComponent.java:668)&lt;BR /&gt; at org.apache.myfaces.view.facelets.FaceletViewDeclarationLanguage.renderView(FaceletViewDeclarationLanguage.java:1483)&lt;BR /&gt; at org.apache.myfaces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:281)&lt;BR /&gt; at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:85)&lt;BR /&gt; at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:239)&lt;BR /&gt; … 13 more&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;I defined my process model with Activiti Designer 5.7, created the deployment artifacts there and deployed the BAR programmatically (engine-version 5.6). It all works, except the image.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Checked my xml-file (according to this: &lt;/SPAN&gt;&lt;A href="http://forums.activiti.org/en/viewtopic.php?f=6&amp;amp;t=1045&amp;amp;hilit=java.awt.image.RasterFormatException%3A+x+width+is+outside+raster&amp;amp;start=0" rel="nofollow noopener noreferrer"&gt;http://forums.activiti.org/en/viewtopic.php?f=6&amp;amp;t=1045&amp;amp;hilit=java.awt.image.RasterFormatException%3A+x+width+is+outside+raster&amp;amp;start=0&lt;/A&gt;&lt;SPAN&gt;). I have named all elements, including the edges. All shapes have coords and width/hight, the edges have all the waypoints needed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Find the XML attached.&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>Wed, 27 Jul 2011 11:57:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-image/m-p/65981#M41828</guid>
      <dc:creator>gant</dc:creator>
      <dc:date>2011-07-27T11:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: Process image</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-image/m-p/65982#M41829</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 debuged on this and found out:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The processDiagramCanvas returned from ProcessDiagramGenerator.generateDiagram() has canvasWidth &amp;amp; canvasHeight of 10. This is beacause ProcessDefinitionEntity.getActivities() returns an empty list.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions?&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, 28 Jul 2011 08:43:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-image/m-p/65982#M41829</guid>
      <dc:creator>gant</dc:creator>
      <dc:date>2011-07-28T08:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: Process image</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-image/m-p/65983#M41830</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;The code should be something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;String processDefinitionId = taskService.createTaskQuery().taskId(getCurrentTaskId()).singleResult().getProcessDefinitionId();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;String processInstanceId = taskService.createTaskQuery().taskId(getCurrentTaskId()).singleResult().getProcessInstanceId();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;InputStream imageStream = ProcessDiagramGenerator.generateDiagram((ProcessDefinitionEntity)repositoryService.createProcessDefinitionQuery().processDefinitionId(processDefinitionId).singleResult(), "png", runtimeService.getActiveActivityIds(processInstanceId));&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 15:21:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-image/m-p/65983#M41830</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-07-28T15:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: Process image</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-image/m-p/65984#M41831</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;this is exactely the Code I have, tried it also with copy&amp;amp;paste of yours, it still is the same problem. While debugging, I saw, my process has 20 activities while parsing, but the ProcessDefinitionEntity I recieve here has an empty list.&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, 28 Jul 2011 15:53:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-image/m-p/65984#M41831</guid>
      <dc:creator>gant</dc:creator>
      <dc:date>2011-07-28T15:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Process image</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-image/m-p/65985#M41832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Really nice…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jul 2011 09:46:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-image/m-p/65985#M41832</guid>
      <dc:creator>rmbiplob</dc:creator>
      <dc:date>2011-07-29T09:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: Process image</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-image/m-p/65986#M41833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;With workaround, I managed to get image. Problem is when repositoryService is queried for processDefinition, processDefinitionEntity don't have initialized activities.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;'Solution':&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;final ReadOnlyProcessDefinition processDefinitionEntity =&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ((RepositoryServiceImpl) repositoryService).getDeployedProcessDefinition(historicProcessInstance.getProcessDefinitionId());&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; in = ProcessDiagramGenerator.generateDiagram(&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (ProcessDefinitionEntity)processDefinitionEntity,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "png",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; runtimeService.getActiveActivityIds(processId));&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Jul 2011 13:41:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-image/m-p/65986#M41833</guid>
      <dc:creator>dgr0me</dc:creator>
      <dc:date>2011-07-29T13:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: Process image</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-image/m-p/65987#M41834</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 have this working now using code similar to dGr0me. But the image is not rendered correctly:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- The business rules task is missing (there is just some empty space, the sequences are drawn correctly&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Some of the sequence flows do not connect to the correct anchor. They connect to the center of the bottom of the shape instead to the center of the left side.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using version 5.7 of the engine and 5.7.1 of the designer.&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, 18 Aug 2011 14:27:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-image/m-p/65987#M41834</guid>
      <dc:creator>gant</dc:creator>
      <dc:date>2011-08-18T14:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: Process image</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-image/m-p/65988#M41835</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 have exactly the same problem like &lt;/SPAN&gt;&lt;STRONG&gt;gant&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any idea, why the process diagram is generated like this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Markus&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2011 08:31:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-image/m-p/65988#M41835</guid>
      <dc:creator>unknown-user</dc:creator>
      <dc:date>2011-08-22T08:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: Process image</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-image/m-p/65989#M41836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you attach the process bpmn20.xml and the image so we can have a closer look?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 08:01:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-image/m-p/65989#M41836</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2011-08-24T08:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: Process image</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-image/m-p/65990#M41837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Attached you can find my activiti-project and the generated image.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;michael&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 08:53:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-image/m-p/65990#M41837</guid>
      <dc:creator>gant</dc:creator>
      <dc:date>2011-08-24T08:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: Process image</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-image/m-p/65991#M41838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Looks like a bug, &lt;/SPAN&gt;&lt;A href="http://jira.codehaus.org/browse/ACT-906" rel="nofollow noopener noreferrer"&gt;http://jira.codehaus.org/browse/ACT-906&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 09:42:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-image/m-p/65991#M41838</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2011-08-24T09:42:16Z</dc:date>
    </item>
    <item>
      <title>Re: Process image</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-image/m-p/65992#M41839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Attached, you can find a patch (and corresponding image), that makes the business rule task rendered. Maybe you could put it to the trunk.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't have a solution for the sequence flows. But it's a Designer issue. The coords are already wrong in the generated bpmn20.xml file. I could not find out, why this happens, this might be, because I haven't understood the .activiti file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I drew both connections that were wrong new. One was then transfered to the xml correctly, the second still has the wrong coords.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards michael&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 13:30:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-image/m-p/65992#M41839</guid>
      <dc:creator>gant</dc:creator>
      <dc:date>2011-08-24T13:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: Process image</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-image/m-p/65993#M41840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, I'll look at the patch tomorow.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 18:10:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-image/m-p/65993#M41840</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2011-08-24T18:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: Process image</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-image/m-p/65994#M41841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks gant, for the patch.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have similar issues with the wrong layout of sequence flows. As you already stated: must be a Designer issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Interestingly, I used this functionality already earlier (Activiti 5.5) and I didn't have any problem (layout was correct).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I wonder, if it would be possible to do the layout on the fly (without using the information the bpmn20.xml).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Since I'm generating and deploying processes programmatically, my bmpn20.xml instances lack of those information, which makes it impossible for me to use the diagram generator in such cases.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Markus&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2011 06:52:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-image/m-p/65994#M41841</guid>
      <dc:creator>unknown-user</dc:creator>
      <dc:date>2011-08-26T06:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: Process image</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-image/m-p/65995#M41842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Auto-layouting is a very difficult thing, whole books have been written about it… For simple processes, it's straight-forward, but once the process gets complexer…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2011 07:17:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-image/m-p/65995#M41842</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2011-08-26T07:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: Process image</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/process-image/m-p/65996#M41843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Nana111,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I saw your comment in different thread. (&lt;/SPAN&gt;&lt;A href="http://forums.activiti.org/comment/20106#comment-20106" rel="nofollow noopener noreferrer"&gt;http://forums.activiti.org/comment/20106#comment-20106&lt;/A&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am sorry but I do not understand your problem. What do you want to achieve?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can get input stream from ProcessDiagramGenerator. InputStream can be written to the file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;InputStream imageStream = ProcessDiagramGenerator.generateDiagram((ProcessDefinitionEntity)repositoryService.createProcessDefinitionQuery().processDefinitionId(processDefinitionId).singleResult(), "png", runtimeService.getActiveActivityIds(executionId));&lt;BR /&gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2013 08:54:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/process-image/m-p/65996#M41843</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2013-11-05T08:54:44Z</dc:date>
    </item>
  </channel>
</rss>

