Re: [rules-users] How to use Drools Flow?

2010-08-03 Thread XiaoMiTang
Hi, Sony John: My English is not good,so i can not explain well. According to the previous mails,you can understand my confusion point. If a work flow requires more than one person to finish it,like this: (1)user A ask for a day's leave; (2)user B approval it; (3) An E-mail send to user A; you can

Re: [rules-users] How to use Drools Flow?

2010-08-03 Thread sony . john
g Subject Re: [rules-users] How to use Drools Flow? 08/04/2010 09:38

Re: [rules-users] How to use Drools Flow?

2010-08-03 Thread XiaoMiTang
I have omitted DefaultProcessEventListener,so the workflow can not be finished automatically when user B finished the task. now all is ok,thank you~ -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/How-to-use-Drools-Flow-tp1014591p1021025.html Sent from the Dr

Re: [rules-users] How to use Drools Flow?

2010-08-03 Thread Mauricio Salatino
Hi guys, You can accomplish your use case following the steps that diego mention. Take a look at the documentation and at the Human Task module to see how to use it. If your process will "run" for long periods, you will need to take a look on persistence configuration also. Greetings. On Mon, Aug

Re: [rules-users] How to use Drools Flow?

2010-08-02 Thread XiaoMiTang
hi diego,thank u for your reply. As far as I understand, we start the work flow using the code: session.startProcess("……"); Once it starts,it runs from Start node to End node~ User A runs the code session.startProcess("……"),the work flow starts,runs step by step: (1)"Human Task assigned to us

Re: [rules-users] How to use Drools Flow?

2010-08-02 Thread Diego López León
On Mon, Aug 2, 2010 at 6:45 AM, XiaoMiTang wrote: > > I have taken a look at the Human Task ,but i can not understand it. > The ruleflow.rf  file should be split into two ? > =  ruleflow.rf  = > Start--->Action1(need user A to do it)>Action2(need user B to do > it)-->Email-->End >

Re: [rules-users] How to use Drools Flow?

2010-08-01 Thread XiaoMiTang
I have taken a look at the Human Task ,but i can not understand it. The ruleflow.rf file should be split into two ? = ruleflow.rf = Start--->Action1(need user A to do it)>Action2(need user B to do it)-->Email-->End == sub1.rf: Start--->Action1(need user A to do it)>E

Re: [rules-users] How to use Drools Flow?

2010-08-01 Thread Diego López León
On Mon, Aug 2, 2010 at 12:37 AM, XiaoMiTang 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

[rules-users] How to use Drools Flow?

2010-08-01 Thread XiaoMiTang
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