Screencast: process instance visualisation in Activiti 5.2

Another month, another Activiti release! Read all about the newest and best release (so far of course) on Tom’s blog.

One feature that many people have asked for in the past is added to this release: it is now possible to graphically visualize a process instance and show which steps exactly are currently active. I’ve made a short screencast demonstrating this new feature.

Many thanks go to Maciek Próchniak, who contributed this feature. He needed it for an Activiti demo and decided to implement it. That’s open source power at work!

9 Comments

  1. […] asked for in the past is added to this release: it is now possible to graphically visualize a… [full post] Joram Barrez Small steps with big feet activitialfrescobpmbpmn 0 0 […]

  2. Bernd Ruecker February 2, 2011

    Amazing, really cool 🙂 And the conditional flows after the gateways already have the diamond removed in trunk 🙂

  3. Joram Barrez February 2, 2011

    @Bernd: you sure are quick, I just fixed it an hour ago 😉

  4. Sorin Burjan February 2, 2011

    Hello. Nice job. Is there any API to get this image with exposing the current node ? Or only Activiti Probe supports it ?

  5. Joram Barrez February 2, 2011

    @Sorin: It’s in activiti-engine. Check out the ProcessDiagramGenerator class.

  6. ahdiblack February 3, 2011

    Could you post a tutorial about generating process diagram with highlighted tasks by activiti engine api??
    Thanks

  7. Joram Barrez February 4, 2011

    It’s nothing more than ProcessDiagramGenerator.generatePngDiagram(processDefinition).

  8. ahdiblack February 4, 2011

    Ok, but I have got error when I try like you have written.
    The error :
    Caused by: java.awt.image.RasterFormatException: (x + width) is outside raster
    at sun.awt.image.IntegerInterleavedRaster.createWritableChild(Unknown Source)
    at java.awt.image.BufferedImage.getSubimage(Unknown Source)
    at org.activiti.engine.impl.bpmn.deployer.ProcessDiagramCanvas.generateImage(ProcessDiagramCanvas.java:161)
    at org.activiti.engine.impl.bpmn.deployer.ProcessDiagramGenerator.generateDiagram(ProcessDiagramGenerator.java:205)
    at org.activiti.engine.impl.bpmn.deployer.ProcessDiagramGenerator.generatePngDiagram(ProcessDiagramGenerator.java:184)

    What may be the reason??

  9. Joram Barrez February 7, 2011

    Dioes your process have DI information?

    Could you paste it somewhere so I can give it a try ?

Leave a Reply

Your email address will not be published. Required fields are marked *