[rules-users] How to use Drools Flow?

Diego López León dieguitoll at gmail.com
Sun Aug 1 23:49:21 EDT 2010


On Mon, Aug 2, 2010 at 12:37 AM, XiaoMiTang <dingyongchang at hotmail.com> wrote:
>
> Hi, I am tring to use Drools Flow in a B/S project,but get in trouble.
> a simple ruleflow.rf  file like this:
> ===Start====
> Start------>Action----->Email----->End
> ====End==
>
> User A log in the system by a browser,press a button,execute the code below:
> ================
> StatefulKnowledgeSession session = …………
> session.startProcess("com.sample.ruleflow");
> ================
> it works ok. the "Action" has been done,the Email has been sent, the whole
> of flow was finished.
>
>
> the problem is how to do with the .rf file like this?
> ==========
> Start--->Action1(need user A to do it)---->Action2(need user B to do
> it)-->Email-->End
> ==========
>
> Can anyone please give me an idea ?

Hi Xiao,
have you taken a look at the Human Task concept in BPMs?
The official documentation[0] has a whole chapter explaining the way
Flow handles it.

Hope it helps.

[0]: https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/trunk/target/docs/drools-flow/html/ch.Human_Tasks.html

-- 
diego




More information about the rules-users mailing list