Re: [rules-users] Testing the count of a pattern binding variable

2013-02-19 Thread David R Robison
Yes, I was just wondering if I could use a pattern binding variable instead of a pattern. I guess I cannot. David David R Robison Open Roads Consulting, Inc. 103 Watson Road, Chesapeake, VA 23320 phone: (757) 546-3401 e-mail: drrobi...@openroadsconsulting.com web: http://openroadsconsulting.com

[rules-users] Testing the count of a pattern binding variable

2013-02-18 Thread David R Robison
() accumulate($sensor; $count : count(1); $count > 3) then ... Is something like this possible? I cannot seem to make it work. David -- David R Robison Open Roads Consulting, Inc. 103 Watson Road, Chesapeake, VA 23320 phone: (757) 546-3401 e-mail: drrobi...@openroadsconsulting.com

[rules-users] Guvnor Test Scenario - test for no matching fact

2013-02-11 Thread David R Robison
In the Guvnor test scenarios you can test for any fact matching specified values, but can you test for no facts matching the values? David -- David R Robison Open Roads Consulting, Inc. 103 Watson Road, Chesapeake, VA 23320 phone: (757) 546-3401 e-mail: drrobi...@openroadsconsulting.com web

Re: [rules-users] Unknown execution error: jitting

2012-12-20 Thread David R Robison
. | gisLocationLon: java.math.BigDecimal 25. | templateSize: String 26. | end 57. | declare RoutingIncreasing 58. | routeName: String 59. | isIncreasing: Boolean 60. | end David David R Robison Open Roads Consulting, Inc

Re: [rules-users] Unknown execution error: jitting

2012-12-20 Thread David R Robison
& $sign.routeMileMarker > routeMileMarker) || (!$incidentRoutingIncreasing.isIncreasing && $sign.routeMileMarker < routeMileMarker)) 11. | then 12. | insert(new IncidentWithVmsSign($incident, $sign)); 13. | end Any thoughts would be helpful. David

[rules-users] Unknown execution error: jitting

2012-12-20 Thread David R Robison
me or any hints on how to debug this? TNX David -- David R Robison Open Roads Consulting, Inc. 103 Watson Road, Chesapeake, VA 23320 phone: (757) 546-3401 e-mail: drrobi...@openroadsconsulting.com web: http://openroadsconsulting.com blog: http://therobe.blogspot.com book: http://www.xulonpress.com/

[rules-users] Writing a rule to find a fact that has a minimum value

2012-12-19 Thread David R Robison
I want to write a rule that will select a fact that has the minimum value for an attribute. For example, find the city that has the minimum population. How would I write such a rule? David -- David R Robison Open Roads Consulting, Inc. 103 Watson Road, Chesapeake, VA 23320 phone: (757) 546

Re: [rules-users] Creating a Query in Guvnor

2012-12-12 Thread David R Robison
Thanks, would it be possible to include a short example? Thanks, David David R Robison Open Roads Consulting, Inc. 103 Watson Road, Chesapeake, VA 23320 phone: (757) 546-3401 e-mail: drrobi...@openroadsconsulting.com web: http://openroadsconsulting.com blog: http://therobe.blogspot.com book: http

Re: [rules-users] Creating a Query in Guvnor

2012-12-11 Thread David R Robison
I tried this with no success. Any thought on how to resolve this? I have a package defined in Guvnor and referenced in my change set. I can set it up and fire all rules but I need a way to get the results out of my stateless knowledge session. Any thoughts? David David R Robison Open Roads

Re: [rules-users] Creating a Query in Guvnor

2012-12-11 Thread David R Robison
Without being able to define a query, how can I retrieve data from the session? David David R Robison Open Roads Consulting, Inc. 103 Watson Road, Chesapeake, VA 23320 phone: (757) 546-3401 e-mail: drrobi...@openroadsconsulting.com web: http://openroadsconsulting.com blog: http

[rules-users] Creating a Query in Guvnor

2012-12-11 Thread David R Robison
Is there a way to create a Query in Guvnor? I am using 5.4.0. Thanks, David -- David R Robison Open Roads Consulting, Inc. 103 Watson Road, Chesapeake, VA 23320 phone: (757) 546-3401 e-mail: drrobi...@openroadsconsulting.com web: http://openroadsconsulting.com blog: http://therobe.blogspot.com