1 of 1 people found this helpful
Yes you can, there a service called BPMN2DataService which belongs to the jbpm-kie-services project that allows you to get that kind of information.
If you take a look at the KIE-WB or jBPM Console Process Definition Details screen that's exactly the information that we are showing there.
Thanks, thats the sort of thing I'm after, but I can't see where I get the process variables from or their types.
A couple of comments on the interface
Should that be returning Collection<TaskDef> (except that it is an "internal" interface, org.kie.internal.task.api.model.TaskDef)
ProcessDesc is the model.impl object, should it be an interface and the model object be ProcessDescImpl?
Yeah, you are right on the comments. We are still allingning those helper objects that we are using for those services.
Now that we have a good estimate of all the information that is required for the UI we will start refactoring those services.
Notice that these services are not exposed via REST, so in order to do that we will need to apply the unifications and interfaces that you mention.