How to load (a) BPMN file to a jBPM-integrated Spring Boot project

1,679 views
Skip to first unread message

Emad Heydari Beni

unread,
Jul 30, 2015, 11:20:36 AM7/30/15
to jBPM Development
I am planning to use the following jBPM-integrated Spring Boot project as the base of my project.


I pulled the code and successfully ran it. I have no idea how to, for example, use 'Evaluation.bpmn' file in this application. I can't find a proper api to load my BPMN file in the embedded engine.

Maciej Swiderski

unread,
Jul 30, 2015, 6:13:15 PM7/30/15
to Emad Heydari Beni, jBPM Development
that sample application is built on top of services that require kjar as deployment unit and not individual files. So take a look at evaluation project in workbench (jbpm console) that can be built and packages as kjar. Then you simply specify Group Artifact Version when starting up the spring boot application so it gets deployed.

Maciej
--
You received this message because you are subscribed to the Google Groups "jBPM Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbpm-developme...@googlegroups.com.
To post to this group, send email to jbpm-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jbpm-development/5902f91e-b80e-4e55-9591-1f101e2791e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Emad Heydari Beni

unread,
Jul 31, 2015, 4:49:02 AM7/31/15
to Maciej Swiderski, jbpm-dev...@googlegroups.com
Hi, Thank you Maciej,

I was guessing that it might work in this way! And, as you said, I managed to deploy the Evaluation example using your advice. That’s brilliant.

May I ask one more question? I would like to know how you glue these services to each other?!
I don’t see any dependency or configuration from Spring Boot app to the Kie-Console. The Spring Boot app uses an in-memory h2 and its database has nothing to do with h2 of the workbench. They have different jBPM engine. How does it detect the Authoring section of the KIE Workbench?

Yours Sincerely,

--
Emad Heydari Beni
Software Engineer
Email: emad.hey...@gmail.com
Website: http://www.heydari.be

Maciej Swiderski

unread,
Jul 31, 2015, 10:32:25 AM7/31/15
to Emad Heydari Beni, jbpm-dev...@googlegroups.com
It’s done over maven. As long as workbench and spring boot app runs in same machine and as same user then will be able to share the artifacts. So when you build and deploy in workbench it installs it into local maven repo (usually located at ~/.m2/repository) then when spring boot application starts it resolves it via maven GAV and by that first checks in local repo. So as long as you follow maven practice then you are good to go with all the projects you build with.

Maciej

Kunal Kumar

unread,
Dec 5, 2019, 2:47:06 AM12/5/19
to jBPM Development
Hi Maciej ,

Seems you are the person who can help me out.
I also want to package my bpmn files and deploy it to spring boot.
Probably it will be done over rest and maven specifiying artifiact id in query parameters.
Can you please point me to an example or steps to follow,


On Friday, 31 July 2015 03:43:15 UTC+5:30, Maciej Swiderski wrote:
that sample application is built on top of services that require kjar as deployment unit and not individual files. So take a look at evaluation project in workbench (jbpm console) that can be built and packages as kjar. Then you simply specify Group Artifact Version when starting up the spring boot application so it gets deployed.

Maciej
On 30 lip 2015, at 17:20, Emad Heydari Beni <emad.he...@gmail.com> wrote:

I am planning to use the following jBPM-integrated Spring Boot project as the base of my project.


I pulled the code and successfully ran it. I have no idea how to, for example, use 'Evaluation.bpmn' file in this application. I can't find a proper api to load my BPMN file in the embedded engine.

--
You received this message because you are subscribed to the Google Groups "jBPM Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbpm-dev...@googlegroups.com.

Naresh Navuluri

unread,
Apr 14, 2020, 6:21:01 AM4/14/20
to jBPM Development
Hi Kunal,

Please share  project f you got solution to deploy bpmn file directly, 
Reply all
Reply to author
Forward
0 new messages