Which tool(s) should I use for my requirement? (jbpm/drools?)

9 views
Skip to first unread message

dianal...@gmail.com

unread,
Dec 10, 2020, 10:18:19 AM12/10/20
to jBPM Usage
Hi, 

I have a design/architecture question. I would like to fully utilize drools, jbpm capabilities and less development outside of these tools, if possible. 

Here is my requirement:
1. customer submits an application  (json request)
2. system calls vendors(rest calls) to validate information
3. system runs drools rules to determine eligibility 
4. system sends a response back to the web with approve/reject/pending decision (json response)
5. system creates a review task for pending decision. 

I am thinking to use a jbpm process to achieve this requirement, but I know that jbpm process doesn't "respond" with json response. It just completes the tasks and end. Are there other designs that can help me achieve this requirement? 

Thanks, 

Diana 

Cristiano Nicolai

unread,
Dec 10, 2020, 9:57:43 PM12/10/20
to dianal...@gmail.com, jBPM Usage
Hi Diana,

I would recommend you to take a look in two approaches, one is using business applications with jBPM, see more details in here[1] and second, to take a look in Kogito[2], were based on what you listed, it does play nicer with generated REST endpoints for you to communicate with the underlying process engine.


--
You received this message because you are subscribed to the Google Groups "jBPM Usage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbpm-usage+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jbpm-usage/1cd85975-a3d3-4e1c-9e50-20ddb487b1b0n%40googlegroups.com.


--
Best regards,

Cristiano Nicolai

dianal...@gmail.com

unread,
Dec 11, 2020, 7:25:01 PM12/11/20
to jBPM Usage
Hi Cristiano, 

Thank you for the pointers!! Sorry if I sound silly -  what is the difference between a "Business Application" vs a jbpm project on Business Central that contains data objects, workitemhandlers, process, and rules in one project? The documentation for both sections look too similar that's why I am a bit confused. 

Cristiano Nicolai

unread,
Dec 14, 2020, 6:23:16 AM12/14/20
to dianal...@gmail.com, jBPM Usage
Hi Diana,

The difference is manly in how you deploy your project. A typical approach would be to use Kie Server where you simply deploy your kjar ( assets you created in Business Central ) as a container and everything is managed in there. A "Business Application" approach, in the other hand, uses that same kjar as dependency for your final application. That means that you "bundle" your application with the process logic, almost like embedding Kie Server into your application. That gives you more control over the assets and you can extend the REST interface to tweak to your needs.

dianal...@gmail.com

unread,
Dec 16, 2020, 10:00:47 AM12/16/20
to jBPM Usage
Hi  Cristiano, 

Thank you so much for your guidance! I do think the business application is what I need! 

Thanks, 

Diana

Reply all
Reply to author
Forward
0 new messages