Hello.
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.
TypeError: processDefinitionDiagramLayout.processDefinition is undefined
var processDefinitionId = processDefinitionDiagramLayout.processDefinition.id;
<code>
generateDiagram: function(processDefinitionDiagramLayout){
// Init canvas
var processDefinitionId = processDefinitionDiagramLayout.processDefinition.id;
</code>
After some debugging the reason is:
calledElement="…" in callActivity tag is missing. That's why org.activiti.engine.impl.DeploymentQueryImpl#processDefinitionKey throws ActivitiIllegalArgumentException("key is null");.
add calledEtement attribute to each callActivity where it is missing.
<callActivity id="executeForcesActivity" name="Execute Forces" calledElement="jointPersonnelRecovery"></callActivity>