processMonitoringToolkit.setPortraitURL(options);
processMonitoringToolkit.setRepeatCount(definition, instance, options);
ProcessDefinitionViewer viewer = new ProcessDefinitionViewer();
String htmlSource = viewer.render(definition, instance, options.getFlowchartOptions()).toString();
return htmlSource;
}