[jboss-user] [jBPM] - Re: Creating Process Definition
Kris Verlaenen
do-not-reply at jboss.com
Mon Dec 6 20:21:07 EST 2010
Kris Verlaenen [http://community.jboss.org/people/KrisVerlaenen] created the discussion
"Re: Creating Process Definition"
To view the discussion, visit: http://community.jboss.org/message/574622#574622
--------------------------------------------------------------
Yes, you could use a Java API to create our processes, although that might not be the best way to get started ;) (as it might be rather low-level). Usually, the easiest way to get started is using the Eclipse plugin (you can use the installer to get a working environment) and start using the graphical editor there (and you can see what it spits out as underlying XML as well).
An example of the API to create processes:
https://github.com/krisv/jbpm/blob/master/jbpm-flow/src/test/java/org/jbpm/process/ProcessFactoryTest.java https://github.com/krisv/jbpm/blob/master/jbpm-flow/src/test/java/org/jbpm/process/ProcessFactoryTest.java
To be honest, this API probably needs some polishing to update it and maybe make it more BPMN2-focussed.
Kris
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/574622#574622]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20101206/fc3e02b5/attachment-0001.html
More information about the jboss-user
mailing list