0 Replies Latest reply on Aug 31, 2009 5:49 AM by Kerdudou Ronan

    Requesting task definitions for a process definition

    Kerdudou Ronan Apprentice

      Hi all,

      We are using jBPM4.

      Our end users would like to see a readonly table with all process definitions and for each ones all the tasks definitions.

      What is the best way to achieve this ?

      I did not find a simple API. I tried to use JpdlProcessDefinition.getTaskDefinitions() but it returns an empty map.
      That's strange because JpdlProcessDefinition inherits from ProcessDefinitionImpl that hold a task Definitions map with all the info I 'm looking for.

      Furthermore, it also could be a good idea to put a 'description' in the task definition (or perhaps for all activities).

      Thanks for any advice.