cancel
Showing results for 
Search instead for 
Did you mean: 

Generated diagram does not show task names

felipe1
Champ in-the-making
Champ in-the-making
After upgrade from version 5.15 to version 5.21.0 diagrams generated for ongoing process instances are not showing task names. However, diagrams generated for process definitions continue showing task names:

Here is the generated diagram for process definitions:
[img]https://dl.dropboxusercontent.com/u/51893421/diagram-process-definition-has-task-names.png[/img]

This is the code used to generate the diagram above:
ProcessEngines.getDefaultProcessEngine().getRepositoryService().getResourceAsStream(processDefinitionEntity.getDeploymentId(), processDefinitionEntity.getDiagramResourceName());

Here is the generated diagram for ongoing process instances
[img]https://dl.dropboxusercontent.com/u/51893421/diagram-ongoing-process-instance-no-task-names.png[/img]

This is the code used to generate the diagram above:
ProcessEngines.getDefaultProcessEngine().getProcessEngineConfiguration().getProcessDiagramGenerator().generateDiagram(myBpmnModel, "png", myActitivies);

Is there a way to show task names on the second diagram as well?


Cheers!
Felipe.
2 REPLIES 2

felipe1
Champ in-the-making
Champ in-the-making
Important update:

The same behaviour (no task names) occurs for process definitions for processes published after the version upgrade.

So processes published when I was using Activiti 5.15 behave like the image I've posted above, and processes published after the upgrade to 5.21.0 are not showing task names.

Example o diagram for process instance published after upgrade:

[img]https://dl.dropboxusercontent.com/u/51893421/diagram-process-definition-no-task-names.png[/img]

felipe1
Champ in-the-making
Champ in-the-making
Ok I have found out what is going on.

I just had to make the task box a little bigger in order to fit the task names. Here is the result:

[img]https://dl.dropboxusercontent.com/u/51893421/diagram-ongoing-process-instance-has-task-names.png[/img]