AnsweredAssumed Answered

Easy way to visualize a process instance history?

Question asked by gguimezanes on Jan 11, 2013
Latest reply on Feb 25, 2016 by jwestra
I would like to draw the diagram of a process instance with the history highlighted. My ideal would be to highlight past activities and flows in one color, and current activities in another colors, but just being able to highlight the whole path "from start event to current state" would already be great.
I imagine that I should use
ProcessDiagramGenerator.generateDiagram(processDefinitionEntity, "png", highLightedActivities, highLightedFlows)

-> for the historical activities, I use
-> for the current activities , I use :
-> but I have no idea on how to find the flows that I should get highlighted (I have several flows that end up to the same task so it is not absolutely obvious from the highlighted tasks which path led to them…)

Any idea?