It would be very useful to introduce in JPDL engine an API to handle custom attributes on process definition elements.
It could be done in a very easy way adding support for custom xml namespace in JDPL.
In this way it will possible to add custom attributes to annotate process elements (node, transition, task, etc). For example
<process-definition xmlns="urn:jbpm.org:jpdl-3.1" xmlns:custom="http://stuff.com/custom" >
<node node="node1" custom:attr1="x" custom:attr2="y" >
:
:
</process-definition>
This would be useful to express extra semantics in domain specific language.
What do you think about?
Regards, Paolo Di Tommaso
disable xml validation in the engine and you can already do this. The complete xml is stored in the db with since 3.1.4 (and ofcourse 3.2 pre-releases)