Automatic BPMN 2.0 process diagram generation in Activiti

Just wanted to give a sneak peek of what I’m working on for the upcoming 5.1 release: automatic BPMN process diagram generation when you deploy a process definition to the Activiti engine. The diagram generation is triggered when your process definition contains the BPMN 2.0 ‘diagram interchange’ (or DI for short) information. This DI information is available when you use the Activiti Modeler and (very soon) the Activiti Eclipse Designer.

The following screencast shows it in working. Here I upload a test BPMN 2.0 process through Activiti Probe. In Activiti Explorer, I can now see the auto-generated process diagram. The generated process is not really usable, is just uses all the constructs which the Activiti engine supports so I could verify I didn’t miss anything 😉


  1. […] process definition to the Activiti engine. The diagram generation is triggered when your process… [full post] Joram Barrez Small steps with big feet activitibpmbpmn 0 0 0 […]

  2. Tjarda December 16, 2010

    Hi Joram,

    That looks nice! Is this the first step towards a graphical way to inspect running (or completed) workflows? Nice green elements for completed tasks, orange for in_progress and red for failed tasks?

    Looks promising, great!

  3. Joram December 17, 2010

    Tjarda, that’s indeed the next step!

  4. Tjarda December 17, 2010

    Cool! Looking forward to that! Current (Alfresco) customers eager to have something like that…

  5. Lim Chee Kin December 19, 2010

    Hi Joram,

    Will this diagram generation open to API?

  6. Joram December 19, 2010

    Yup, it’ll be in the .impl package, but you can use it however you want.

  7. Lim Chee Kin December 21, 2010

    Great! Look forward to Activiti 5.1 released. May I know is there any roadmaps for Activiti coming releases?

  8. Joram December 23, 2010

    The rough lines of the roadmap is always documented on

Leave a Reply

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