cancel
Showing results for 
Search instead for 
Did you mean: 

activiti-bpmn-extensions.xsd

jhar
Champ in-the-making
Champ in-the-making
Hello Activiti team,

I have a question about the XML schema. I tried to generate Java classes from the activiti-bpmn-extensions-5.11.xsd via JAXB for my application.

First problem was that the attributes "Expression" (line 286 & 290) and "Value" (line 96 & 187) were already defined. I fixed this problem by renaming.

The main problem is that the defined attributes are not generated in the Java Classes (e.g. "initiator" at THumanTask). Am I doing anything wrong? I need to generate the classes from the xsd because, after some mapping and data binding, a new XML should be generated via marshalling.

Thanks in advance.
2 REPLIES 2

trademak
Star Contributor
Star Contributor
We have create the activiti-bpmn-model and activiti-bpmn-converter for this. You can use this to serialize the XML to a POJO model, make changes and generate the XML again. See this article for some more details:

http://stacktrace.be/blog/2013/03/dynamic-process-creation-and-deployment-in-100-lines/

Best regards,

jhar
Champ in-the-making
Champ in-the-making
Edit: Problem solved.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.