[jBPM Users] - Re: does JBPM support below features?
by barteljan
Hi cssatheesh,
I suppose from your questions, that you are searching a process-management-engine for your java project and that you have already evaluated JBoss Drool ( I insinuate that, because of the "rulecentric" scope of your questions :D)
As I'm doing the same task for one of our projects, I'm trying to share my insights about both engines with you.
My first finding is that both engines (jbpm and drools flow) have their own right and their own focus in implementing a workflow-management-engine.
Drools is a very powerful rule-centric engine which has integrated lot's of functionality provided to Business-Rules, while Jbpm is a lightweight solution concentrating on the java world.
Both has it's advantages, but Drools is (in my opinion ;) ) a solution which is useful if your project benifits from a very high integration of buisiness-rules.
It perfomes lesser than jbpm in the java-world and is more error-prone because it's complex architecture.
I'm trying to give you a deeper insight in your questions but i must admit that my insights are restricted.
1) Yes, for both libraries but with a restriction, you have to use the esb or java-class actions to invoke them in jbpm, while you have to create a workitem or a java-action in drools.
2) Yes, this is were Jbpm is clearly superiour to Drools, you can intstanciate a method of a random pojo, with chosen parameters using the java-action, were you have to use a workItem or a java-drools-action in drools (which is quite less flexible).
3)Yes you can use hql and sql actions, and call stored procedures with your java classes invoced by a java action. For drools you have to use a workItem or a java-drools-action
4 + 5)Neither jbpm nor drools implement a default webservice to call a process (at least I don't know such a default webservice), but it's quite easy to implement a webservice calling the processengine, especially if you use Jboss Seam or a library like axis2.
At least there is nothing about rules in Jbpm ;) , you have to call a rule-engine like drools for this purpose, but this might be more efficient if your development is java-centric and is using relativly few rules.
I hope this helped,
CU Jan
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253213#4253213
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253213
16 years, 7 months
[jBPM Users] - Same token seems to be attached to two task instances?
by gfargone
Hello,
We run jbpm 3.2.6.SP1 on Oracle. We use the Command interface to operate JBPM and our applications use that only to interface with JBPM.
(It is a painful way of using it, but we did not have time to replicate all console capabilities to use just the engine) We run jbpm-console in the same JBoss application server for administrative and troubleshooting purposes.
After hundreds of successfully completed workflow instances we got a strange problem. This workflow has no forks, just task and decision nodes so we should never end up with two active nodes on the flow.
In this case we got two tasks active, I think due to the fact that they ended up with the same token attached. At least that how it shows up on the jbpm-console.
This wrecks havoc with everything down the line and there seems to be no way of fixing it without messing with the database.
I was wondering how something like that can occur and if anyone has seen a similar problem.
Thank You,
Tamas
PS: We discovered this during the pilot just days before we were planning to go full deployment at our site.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253195#4253195
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253195
16 years, 7 months
[jBPM Users] - Handling failure of automated activities
by emp.tyres
Hello -
I am very, very happy with Jbpm4, and I am currently looking for a hint on best practices for handling failures of automatic activities invoking retries or failovers - for example, a whose class connects to an external server (which may be down at the time of calling)
I understand I can signal the failure in the return variable and model the retry / failover process explicitly with a switch, but that seems rather cumbersome.
My preference would be to have the possibility to implicitly choose from the activity the outgoing transition, pointing to a "retry" state which periodically re-enters the automatic activity with a timer. I am not sure if it is possible to define that an exception in the java class with exception-handlers, because the docs seem incomplete.
Also, about exception handling, I could not find any hints on these two points:
1- what possibilities are there to "recover" a process that has encountered an unhandled exception?
2- will other process instances running in the same PVM keep going in such a case?
Any pointers woud be really appreciated.
Bye and thanks.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4253180#4253180
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4253180
16 years, 7 months