Your missing something - the human task handler is just a 'standard' custom work
item handler, it doesn't do anything special that nobody elee can do. What you
basically need to do is ensure that your flows are persisted, your work item handler
doesn't complete immediately instead it dispatches the job to your external system.
When the job comes back (days later) the work item handler is responsible for loading up
the workflow again (if it isn't currently loaded) and then carrying on the process
with the result.
If you look at the source code for the human task work item handler and search the mailing
list archives you can find more information on how exactly to do this - I think the docs
give some information as well.
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 16:36
To: rules-users(a)lists.jboss.org
Subject: Re: [rules-users] Drools Flow - Human Task
Hi,
Thanks for your response but the problem is that I want flow to stop at that
point while I ask question to customer and wait there until question is
replied by customer. It can take hours/days for customer to come back. With
custom work item I don't think I would be able to setup flow to stop at that
point? Or am I missing something?
Cheers
--
View this message in context:
http://drools-java-rules-
engine.46999.n3.nabble.com/Drools-Flow-Human-Task-tp966015p966814.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
**************************************************************************************