[JBoss jBPM] - JBPM JPDL Architecture/Design
by iventer
I'm currently doing proof of concept work for a government agency for workflow implementation.
What we are considering doing is having a workflow farm for want of a better word. Where all their current applications that require workflow would hook into.
In this model the workflow engine app would have the schema where all workflow process definitions are deployed to for all the client applications. The work flow engine app would be fronted with a stateless session ejb (SLSB) which the client apps would user for interface.
Are there any potential pittfalls for this kind of a design. I'm very new to jBPM so there are probably things that i have'nt considered that would lead me to sway away from this kind of solution.
One of the main concerns is that the jbpm schema is a black box and if something went wrong there it could have bad consequences for all applications using workflow. Other issues would be around upgrading from one version of jbpm to another. Though these 2 concerns would be a problem for any design i'm just trying to findout if what i propose could maybe be done better.
All responses welome.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160753#4160753
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4160753
17 years, 9 months
[JBoss jBPM] - Re: Error http 403 at JBPM-console
by soumya_in
Adding user is not easy as adding user to it's JBPM_ID_USER table.
Follwing is neccessary during adding a user.
1) Add a user to it's JBPM_ID_USER and note your USER_ID
2) Check JBPM_ID_GROUP table to find the ID corresponding to user role and note it as GROUP_ID
(This is neccessary because as per current context a user should have at least an user role)
3) Go to JBPM_ID_MEMBERSHIP table and make sure that the USER_ID(noted step-1) should have atleast GROUP_ID(noted step-2)
However for additional role to be added for a user you can add additional GROUP_ID found in JBPM_ID_GROUP table and subsequently be inserted them in JBPM_ID_MEMBERSHIP table. But remember that your custom user should have atleast a user role found in JBPM_ID_GROUP table.
If you can check the dependency between the tables mentioned at step 1-2 and 3 then you will definitely understand the described story. check ER- diagram for them as well.Hope that this will solve your problem well.
Thanks
Soumya
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160739#4160739
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4160739
17 years, 9 months