[jboss-user] [jBPM] - why java.util.Map doesn't work on RHS update

hardawaycg do-not-reply at jboss.com
Fri Mar 16 07:44:40 EDT 2012


hardawaycg [https://community.jboss.org/people/hardawaycg] created the discussion

"why java.util.Map doesn't work on RHS update"

To view the discussion, visit: https://community.jboss.org/message/724283#724283

--------------------------------------------------------------
my rule just like this:
==================java code=====================
......
StatefulKnowledgeSession statefulKSession = kbase.newStatefulKnowledgeSession();
Map valueMap = new HashMap();
valueMap.put("year", "2012");
valueMap.put("cost", "88");
// valueMap.put("contactCarryFlag", "1");
statefulKSession.setGlobal("g_paramMap", paramMap);
// statefulKSession.insert(paramMap);
statefulKSession.insert(valueMap);
statefulKSession.fireAllRules();
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/724283#724283]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120316/63184283/attachment.html 


More information about the jboss-user mailing list