Weird human task behaviour
by HMandic
I have this strange problem, when I call
int taskId = 105; // dummy taskId, the real one is obtained
through TaskSummary
BlockingTaskOperationResponseHandler b = new
BlockingTaskOperationResponseHandler();
client.complete(taskId, "myusername", null, b);
while (!b.isDone()){
b.waitTillDone(100);
}
System.out.println("Completed task "+taskId+" owned by user
myusername.");
I get this in the log:
INFO [STDOUT] Completed task 105 owned by user myusername.
INFO [STDOUT] Notification of completed task 104
...and about 50 milliseconds later...
INFO [STDOUT] Notification of aborted task 104
No error messages between these two notifications.
I understand that these ID's are not the same because 104 is actually
workItemId that holds taskId 105.
The status of task 105 in the database table "task" is "Completed", but the
workflow stops after it and I can't do anything about it.
Is there any known issues with task persistence in JBoss 5.1 or something?
--
View this message in context: http://drools.46999.n3.nabble.com/Weird-human-task-behaviour-tp3368608p33...
Sent from the Drools: User forum mailing list archive at Nabble.com.
14 years, 10 months
Re: [rules-users] drools-server empty response body
by lhorton
In my test, I posted the set-global command along with the rule execution
commands, like this (snippet):
List commands = new ArrayList<Command>();
commands.add(CommandFactory.newSetGlobal("logger", logger));
commands.add(CommandFactory.newInsert(fact, "outId"));
commands.add(CommandFactory.newFireAllRules());
BatchExecutionCommand batchCommand =
CommandFactory.newBatchExecution(commands, "ksession");
.....etc.
(I had configured the ksession as stateless)
--
View this message in context: http://drools.46999.n3.nabble.com/drools-server-empty-response-body-tp319...
Sent from the Drools: User forum mailing list archive at Nabble.com.
14 years, 10 months
Re: [rules-users] drools-server empty response body
by lhorton
you'd do something like this... in your Java code, instantiate an instance
of your logger (of whatever class)
import org.apache.commons.Log; // or whatever logger class you are using
private Log mylogger = new Log();
then create your command list and add the logger instance as a global:
List commands = new ArrayList<Command>();
commands.add(CommandFactory.newSetGlobal("logger", mylogger));
then in your rule you declare the global:
global org.apache.commons.Log logger;
--
View this message in context: http://drools.46999.n3.nabble.com/drools-server-empty-response-body-tp319...
Sent from the Drools: User forum mailing list archive at Nabble.com.
14 years, 10 months
Minimax Planning
by Chris Spencer
How would you use Drools Planner to decide moves in a zero-sum
complete information game like Tic-Tac-Toe, Chess, Go, etc?
I understand how algorithms like Minimax are used for this, and I can
see how I could build a solver to calculate legal moves as well as the
fitness of each player's position after N hypothetical moves, but I'm
not sure I see how Planner could aggregate the scores of arbitrary
plans to find the action corresponding to the minimum/maximum score at
each step.
Regards,
Chris
14 years, 10 months
Planning Under Uncertainty
by Chris Spencer
Hi,
Does Drools Planner support uncertainty / probabilistic planning? I've
Googled, and only found a single reference, in the form of a research
paper, "Reasoning with Uncertainty in Drools", which doesn't even
appear to be publicly downloadable.
If not, how difficult would it be to add?
Regards,
Chris
14 years, 10 months
RuleML2011@BRF - Call for participation
by Adrian Paschke
*Apologies for any duplicates*
===================================================================
Challenge-2011 Demo Award: Late-Breaking Demos until 7th Oct.
http://2011.ruleml.org/america/?page_id=113
===================================================================
Want to learn more about rule technologies, applications and standards?
Want to discuss the latest industrial and research developments?
Want to get in touch with researchers and experts in rule-based systems and
technologies?
Want to see demos of state-of-the-art rule technologies and beyond?
Want to discuss with industries and academia on the future of rule
technologies?
Don't miss RuleML-2011@BRF
http://2011.ruleml.org/america/
===================================================================
RuleML 2011@BRF
5th International Symposium on Rules: Research-Based, Industry-Focused
Ft. Lauderdale, Florida, 3-5 November 2011
http://2011.ruleml.org/america/
===================================================================
We cordially invite you to participate to the 5th International Symposium on
Rules: Research-Based and Industry-Focused (RuleML-2011@BRF) - the premier
conference event emphasizing the synergy between high-quality research and
industry operating in the rule modeling, markup and reasoning domain, with
particular regard to the usability of such rule systems in the Web
environment.
It takes place in Ft. Lauderdale, Florida, November 3-5, 2011,
collocated with
the International Business Rules Forum.
News
===================================================================
List of accepted papers published
Draft Programme published
Best paper prize
Challenge-2011 Demo Award: Late-Breaking Demos until 7th Oct.
Special invited speakers included in the programme:
- Keynotes: Christian de Sainte Marie (IBM ILOG), Marcus Spies
(Ludwig-Maximilians
University, Munich), Paul Vincent, (CTO Business Rules& CEP, TIBCO
Software) and Jan Vanthienen (KU Leuven, World Authority on Decision
Tables).
- An OMG presentation will be given by Said Tabet (EMC) and one from
NIEM and OASIS by David Webber (Oracle Corporation).
- Special invited demos will be presented by Jans Aasman (Franz Inc.)
and by Benjamin Grosof (Vulcan Inc.)
Supported by
===================================================================
W3C, OMG, OASIS, AAAI, ECCAI, EPTS
15% special discount code for OASIS, OMG, W3C, ACM, ECCAI, EPTS, SemWeb
and WSWM members.
15% special discount code for RuleML2011@IJCAI attendees and Ph.D students
Sponsored by
===================================================================
Franz Inc.
NICTA (National ICT Australia) Ltd
Vulcan Inc.
CIRSFID - University of Bologna
Corporate Semantic Web
Model Systems Ltd
OASIS-LEGALXML
(sponsoring opportunities:http://2011.ruleml.org/america/?page_id=30)
===================================================================
14 years, 10 months