Yes, a custom work item is just java code, it can do anything you do in java.
From: rules-users-bounces(a)lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org] On
Behalf Of santosh mukherjee
Sent: 14 July 2010 12:58
To: Rules Users List
Subject: Re: [rules-users] Drools Flow - Human Task
I want to write a custom work item that helps me to pass some of the data from the process
to some other application through its interface. Will I be able to do that??
Thanks.
Santosh Mukherjee.
On Wed, Jul 14, 2010 at 5:22 PM, Swindells, Thomas
<TSwindells@nds.com<mailto:TSwindells@nds.com>> wrote:
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@lists.jboss.org<mailto:rules-users-bounces@lists.jboss.org>
[mailto:rules-users-<mailto:rules-users->
bounces@lists.jboss.org<mailto:bounces@lists.jboss.org>] On Behalf Of jawa
Sent: 14 July 2010 10:23
To: rules-users@lists.jboss.org<mailto:rules-users@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@lists.jboss.org<mailto:rules-users@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@nds.com<mailto:postmaster@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
**************************************************************************************
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org<mailto:rules-users@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
**************************************************************************************