mvermand [
https://community.jboss.org/people/mvermand] created the discussion
"Custom (queryable) property in JPDL process-node"
To view the discussion, visit:
https://community.jboss.org/message/647124#647124
--------------------------------------------------------------
Hi,
I have the following requirement (using JBPM4.4 on Hibernate):
In order to work on future "versions" of a Process definition, our customers
need to be able to make a branch of the current workflow definition and make
modifications.
Then, when the time is right (for example, a certain law gets active) the new branch needs
to be made current (gets deployed).
The different braches are maintained in our own repository.
Now, we need to be able to retrieve the "branch-number" from which the deployed
definition originates.
I was hoping that it would be possible to add a custom attribute to the process node in
the jpdl and retrieve it afterwards, but it seems that custom attributes are not saved (I
looked in JBPM4_DEPLOYPROP).
I found some information about disabling the jpdl validation but that seems not such a
good idea.
So my question(s):
1) is it possible to add a custom attribute to a process definition?
2) or is there a different way to save and retrieve custom meta data of a process
definition?
Thank you very much!
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/647124#647124]
Start a new discussion in jBPM Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]