tkobayas opened a new issue, #790:
URL: https://github.com/apache/incubator-kie-issues/issues/790

   **Issue Description:**
   Rule like this
   ```
   when
        /measurements[ $id: id == "color", $colorVal : val ]
        /sensors[ id == $id ]
   ```
   
   results in 
   ```
   InvalidExpressionErrorResult: Unknown field sensors on class 
org.example.Measurement
   ```
   
   workaround is to add `and` in-between.
   ```
   when
        /measurements[ $id: id == "color", $colorVal : val ]
           and
        /sensors[ id == $id ]
   ```
   
   **Acceptance Criteria:**
   - Add a unit test
   - Build without an error
   - The rule works expectedly


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to