Excel table not working, throwing compilation error "Rule Compilation error td cannot be resolved"

62 views
Skip to first unread message

colli...@gmail.com

unread,
Nov 12, 2018, 11:12:41 PM11/12/18
to Drools Usage
This is my excel table, quite simple
Capture.PNG


When I try to execute, error comes up

Capture.PNG

If I code the action to just print something, it works, but not if I want to modify the obejct "td"

Can anyone help
Thanks

colli...@gmail.com

unread,
Nov 12, 2018, 11:18:26 PM11/12/18
to Drools Usage


On Tuesday, November 13, 2018 at 12:12:41 PM UTC+8, colli...@gmail.com wrote:
This is my excel table, quite simpleCapture1.PNG

Michael Anstis

unread,
Nov 13, 2018, 2:25:30 AM11/13/18
to drools...@googlegroups.com
I suspect it's because your second rule has no conditions and hence the "td" in the action cannot be resolved. Try putting FALSE in one of the condition columns.

--
You received this message because you are subscribed to the Google Groups "Drools Usage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drools-usage...@googlegroups.com.
To post to this group, send email to drools...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/drools-usage/622169f7-efcb-46e3-8e98-1a8670a4a8ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

colli...@gmail.com

unread,
Nov 13, 2018, 10:33:02 PM11/13/18
to Drools Usage
Thanks, I get it fixed by recreating XLS2003 file, however when I copy some cells from old file, it might falls into the same error, so I doubt this is due to some encoding or format issue, seems DROOLS is converting the XLS file into DRL internally before executing
Reply all
Reply to author
Forward
0 new messages