<?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: Deployed, but no diagram shown in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/deployed-but-no-diagram-shown/m-p/158531#M112641</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to deploy your process to the latest snapshot from trunk. It works on the deployment tab. Image generator does not work for processes. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;TypeError: processDefinitionDiagramLayout.processDefinition is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var processDefinitionId = processDefinitionDiagramLayout.processDefinition.id;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; generateDiagram: function(processDefinitionDiagramLayout){&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;// Init canvas&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var processDefinitionId = processDefinitionDiagramLayout.processDefinition.id; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After some debugging the reason is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;calledElement="…" in callActivity tag is missing. That's why org.activiti.engine.impl.DeploymentQueryImpl#processDefinitionKey throws ActivitiIllegalArgumentException("key is null");. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;add calledEtement attribute to each callActivity where it is missing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;callActivity id="executeForcesActivity" name="Execute Forces" calledElement="jointPersonnelRecovery"&amp;gt;&amp;lt;/callActivity&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Oct 2013 07:58:19 GMT</pubDate>
    <dc:creator>martin_grofcik</dc:creator>
    <dc:date>2013-10-04T07:58:19Z</dc:date>
    <item>
      <title>Deployed, but no diagram shown</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deployed-but-no-diagram-shown/m-p/158530#M112640</link>
      <description>I deployed a process.&amp;nbsp; However, when I click on the link to show the diagram, it shows a blank screen.&amp;nbsp; I click on convert to editable model, it works and show the diagram.&amp;nbsp; What's going on?&amp;nbsp; &amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&amp;lt;definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MOD</description>
      <pubDate>Thu, 03 Oct 2013 17:37:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deployed-but-no-diagram-shown/m-p/158530#M112640</guid>
      <dc:creator>houstoniasian</dc:creator>
      <dc:date>2013-10-03T17:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: Deployed, but no diagram shown</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deployed-but-no-diagram-shown/m-p/158531#M112641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to deploy your process to the latest snapshot from trunk. It works on the deployment tab. Image generator does not work for processes. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;TypeError: processDefinitionDiagramLayout.processDefinition is undefined&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var processDefinitionId = processDefinitionDiagramLayout.processDefinition.id;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; generateDiagram: function(processDefinitionDiagramLayout){&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;// Init canvas&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;var processDefinitionId = processDefinitionDiagramLayout.processDefinition.id; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After some debugging the reason is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;calledElement="…" in callActivity tag is missing. That's why org.activiti.engine.impl.DeploymentQueryImpl#processDefinitionKey throws ActivitiIllegalArgumentException("key is null");. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;add calledEtement attribute to each callActivity where it is missing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;callActivity id="executeForcesActivity" name="Execute Forces" calledElement="jointPersonnelRecovery"&amp;gt;&amp;lt;/callActivity&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Oct 2013 07:58:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deployed-but-no-diagram-shown/m-p/158531#M112641</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2013-10-04T07:58:19Z</dc:date>
    </item>
  </channel>
</rss>

