stellina_rosa [
http://community.jboss.org/people/stellina_rosa] created the discussion
"Re: apply rules on a file"
To view the discussion, visit:
http://community.jboss.org/message/606563#606563
--------------------------------------------------------------
Hi!
I have create a workItem that create an object for any string in the result file; in my
example, it will create 3 object:
q1("Miller",38000,"New York")
q1("Koch",2000000,"Atlanta")
q1("Nguyen",35000,"New York")
I need to do this because Drools only works with object, and at the same time Drools take
the object in the session; so now I need to add my objects to the session in the method
executeWorkItem() of my workItem....
So far, I have only create the object... How can I add these to the session?
Thank you very much!
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/606563#606563]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]