[jboss-dev-forums] [jBPM Development] - How to read a process definition in jbpm 5.4?
Feki Ahmed
do-not-reply at jboss.com
Thu Feb 28 09:46:14 EST 2013
Feki Ahmed [https://community.jboss.org/people/bardelman] created the discussion
"How to read a process definition in jbpm 5.4?"
To view the discussion, visit: https://community.jboss.org/message/800086#800086
--------------------------------------------------------------
Hi,
In the documentation there is a paragraph about how to create a process programmatically using the Fluent Process API and then pass it into the KnowledgeBuilder as parameter in order to the session to start a process instance for it...
What i want is the opposite operation : reading a process definition programmatically node by node, whether to read it directly from the ".bpmn" file by indicating it s path or to get it from the jbpm/droos object that contains its instance (i dont know neither which is that object (the ksession ? the processInstance ?) nor what should i exactly get from that object :is it a RuleFlowProcess ? a WorkflowProcess ?
i was about to read a process definition .bpmn file using xml parsing and extract all informations i want which is not the appropriate way to do that.
Please , i need any example or even some advices for this issue. Thanks.
h2.
h2.
.
h2.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/800086#800086]
Start a new discussion in jBPM Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2035]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20130228/c084670e/attachment.html
More information about the jboss-dev-forums
mailing list