Re: [rules-users] Is this a bug? when using Human Task.

2010-08-03 Thread XiaoMiTang
i am using drools 5.1.0.CR1 -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Is-this-a-bug-when-using-Human-Task-tp1021453p1021534.html Sent from the Drools - User mailing list archive at Nabble.com. ___ rules-users

[rules-users] Is this a bug? when using Human Task.

2010-08-03 Thread XiaoMiTang
ntEndStrategy org.drools.task.User Can anyone help? XiaoMiTang -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Is-this-a-bug-when-using-Human-Task-tp1021453p1021453.html Sent from the

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

2010-08-03 Thread XiaoMiTang
com/support?nid=4009 https://www.packtpub.com/support?nid=4009 Please notice the src under \5647_Code\5647_Code\parent-1.0-examples\parent-1.0-examples\droolsBookParent\droolsFlow Good luck~ XiaoMiTang -- View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/How-to-use-

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-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-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

[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

[rules-users] Exception when use Human Task

2010-07-27 Thread XiaoMiTang
I got an exception when using Human Task ,caused by the following code: ===code=== EntityManagerFactory emf = Persistence.createEntityManagerFactory(""); TaskService taskService = new TaskService(emf,SystemEventListenerFactory.getSystemEventListener()); ===code