You can write your own custom work item handler which can handle performing all the
necessary glue however you want that part of the system to work.
The drools workflow docs provide details on how to go about doing this - plus I think you
may be able to find some further tutorials and blog posts via google.
Thomas
-----Original Message-----
From: rules-users-bounces(a)lists.jboss.org [mailto:rules-users-
bounces(a)lists.jboss.org] On Behalf Of jawa
Sent: 14 July 2010 10:23
To: rules-users(a)lists.jboss.org
Subject: [rules-users] Drools Flow - Human Task
Hi,
I am developing a drools flow application and at one point of the flow I
want end user (User of my website) to reply to some questions one by one
i.e. I'll show them a question on a web page and they'll answer it then next
question etc. It has a flow sequence depending on the answers of questions.
e.g. If user replied 'No' to Q1 then go to Q5 else go to Q2 etc. So I want
my flow to stop for a user input when the flow reaches to the 'Ask question'
stage. I have read the drools flow documentation and it looks like there is
an option to use Human Task which will cause my flow to stop at that point
and wait for user input but for that I'll have to use Apache Mina server and
will need to claim tasks etc. But I don't want that because my front end
application is in php and backend (Drools flow) is in java and I connect
both using webservice. So I just want to ask my front end that ask question
then front end will reply with an answer that I want to feed to my flow then
flow will continue and decide which question to ask next. The website users
are anonymous it can be anyone answering the questions.
Can anyone please give me an idea how to achieve this using drools flow?
Thank you
--
View this message in context:
http://drools-java-rules-
engine.46999.n3.nabble.com/Drools-Flow-Human-Task-tp966015p966015.html
Sent from the Drools - User mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
**************************************************************************************
This message is confidential and intended only for the addressee. If you have received
this message in error, please immediately notify the postmaster(a)nds.com and delete it from
your system as well as any copies. The content of e-mails as well as traffic data may be
monitored by NDS for employment and security purposes. To protect the environment please
do not print this e-mail unless necessary.
NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, United
Kingdom. A company registered in England and Wales. Registered no. 3080780. VAT no. GB 603
8808 40-00
**************************************************************************************