Usage jBMP bestpractice alignment with business application

63 views
Skip to first unread message

t...@hsc-solutions.de

unread,
Jan 13, 2016, 4:24:26 AM1/13/16
to jBPM Usage

Hi all,

we are thinking about the right way to use jBPM for a new business application (quality management related).
Is there a best practice for aligning business objects with bpm tasks?

For us there are two different ways to integrate the bpm engine in our app.

1. Setting up an database for the business objects (like quality notification and their tasks), where a task is not really an workflow task in bpm.

And in a second database / scheme, the jBMP db which handles the process flow (only during the validity period of the quality notification (business object)


2. Second way would be, to setting up the first db only for the "notification data" and put all the business related tasks data into the jBPM db model.

What is best practice? What is are the advantages and disadvantages of both solutions?
Are there any other possible solutions (out of your experience)?

Thanks in advance
Tom

Mauricio Salatino

unread,
Jan 13, 2016, 4:34:17 AM1/13/16
to t...@hsc-solutions.de, jBPM Usage
Hi Tom,
you can adopt a services based integration. Basically consuming a Service from jBPM to get the business domain objects to be used by the flows. 
Where you store those objects is up to the implementation of that services and by adding a service layer you can change that implementation later in the future 
if it doesn't work.

HTH


--
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 post to this group, send email to jbpm-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jbpm-usage/983cf3b5-fddc-4f98-9fb6-f447d9c8fb2b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
 - MyJourney @ http://salaboy.com
 - Co-Founder @ http://www.jugargentina.org
 - Co-Founder @ http://www.jbug.com.ar
 
 - Salatino "Salaboy" Mauricio -

t...@hsc-solutions.de

unread,
Jan 13, 2016, 4:46:10 AM1/13/16
to jBPM Usage, t...@hsc-solutions.de
Hi Mauricio,
thanks for those hints.

In our case, most of the data is not BPM related (only approx. 5% is related to an task and task history), so consuming a Service from jBPM will only handle 5% of the demand.
Second problem could be the lifetime of those informations.
So (if I understood you right) :
We need a persistance layer for the BDO (for example a certain Business Task Object) and from there a link (service layer) to the jBPM Service (maybe by work item id).
After finishing the BPM process (or somewhere in the future) we need to archive the task related stuff in our BDO datamodel.
Right???
Thx
Tom

Maciej Swiderski

unread,
Jan 13, 2016, 6:12:47 AM1/13/16
to t...@hsc-solutions.de, jBPM Usage
Tom,

take a look at this article as it might help you: jBPM 6 - store your process variables anywhere

Maciej
Reply all
Reply to author
Forward
0 new messages