Mark,

I am certain that this is a bug.  In my rules, I was able to make it work where I leave the "Open" lines on he agenda and he query does in fact pick them up.

I wil see if I can create a small test case that demonstrates the problem.  What is the link to JIRA so I can log it.

Ron

On Nov 17, 2007 12:17 PM, Mark Proctor <mproctor@codehaus.org> wrote:
Ronald R. DiFrango wrote:
All,

I have the following query:

query "Open RTV Lines"
    line : DetailLine(status in (StatusConstants.OPEN, StatusConstants.PARTIALLY_MATCHED))
end

And what appears to be happening is it is only picking up those lines that are marked with StatusConstants.PARTIALLY_MATCHED and not those marked with StatusConstants.OPEN. 

Now here is the rub, if a line gets marked as StatusConstants.OPEN then it gets pulled off the agenda for further processing.  Could this be why it is not getting picked up by the query?
The agenda  thas nothing to do with querries. This should work. If you believe its a bug, then please open a JIRA with a self contained executiable test.

Ron