Re: [rules-users] Help require for web actor related task

2010-09-28 Thread Ashish.zokarkar

Hello Guys,

I am able to treat Human Task as web actor. What I did is, I created a new
WorkItemHandler and when I submit the jsp, in jsp I wrote code to complete
the work item.

But conceptually still i have doubts:
1. I can able to register WorkItemHandler with name Human task which by
default take WorkItemImpl and DefaultWorkitemmaneger as workItem amd
manager respectively. I want to register my own Work Item. How can I
register it? 
Any code snippet will be really helpful.

Thank you very much in advance.

Ashish zokarkat
-- 
View this message in context: 
http://drools-java-rules-engine.46999.n3.nabble.com/Help-require-for-web-actor-related-task-tp1572753p1594689.html
Sent from the Drools - User mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] Help require for web actor related task

2010-09-24 Thread Ashish.zokarkar

Hello,
I am newbie for Drools flow. I am trying to build work flow in which
according to condition I have to ask either person properties or user
properties. 
I am trying to embed it in web project. So I created 3 jsps.
1. Ask information about User or Product.
2. According to selection shows different options.
3. Display all the properties.

What I am trying is, remove all the forwards from jsp and put them in
workflow so that its easily supportable for new object as well.

I think I should use Human Task where I am taking user input.

Now i have below questions:
1. I am trying to use Human Task. But I can see it supports only Web
Service Human task. Is it true???
2. How can I use Human Task in this situation? In examples, I can see, I
require EntityManagerFactory, mina Task which should run on some port. Is
these steps really necessary???
3. I am trying really simple POC where I require kind of web actor which
should wait till user click on Submit button and then proceed to next
step. Is any similar kind of support Drools have?? If yes how can i use it??
Small code snippets or doc link will be very helpful...

Thank you very much in advance..

Ashish Zokarkar
-- 
View this message in context: 
http://drools-java-rules-engine.46999.n3.nabble.com/Help-require-for-web-actor-related-task-tp1572753p1572753.html
Sent from the Drools - User mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users