[jboss-user] [jBPM] - Re: apply rules on a file
stellina_rosa
do-not-reply at jboss.com
Mon May 23 10:34:40 EDT 2011
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&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110523/af90ef69/attachment.html
More information about the jboss-user
mailing list