-
1. Re: workflow metadata (jbpm6)
salaboy21 Oct 23, 2013 5:37 AM (in response to bwallis42)1 of 1 people found this helpfulYes 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.
-
2. Re: workflow metadata (jbpm6)
bwallis42 Oct 23, 2013 7:42 AM (in response to salaboy21)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
Collection<TaskDefImpl> bpmn2DataService.getAllTasksDef(processId);
Should that be returning Collection<TaskDef> (except that it is an "internal" interface, org.kie.internal.task.api.model.TaskDef)
ProcessDesc bpmn2DataService.getProcessDesc(processId);
ProcessDesc is the model.impl object, should it be an interface and the model object be ProcessDescImpl?
-
3. Re: workflow metadata (jbpm6)
salaboy21 Oct 23, 2013 7:49 AM (in response to bwallis42)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.
-