It's all about the answers!

Ask a question

WorkItem query based on modifiedDate always returns everything

Joe Celi (1389) | asked Jun 21 '13, 6:08 p.m.
edited Aug 18 '13, 11:06 a.m. by Arne Bister (2.6k12832)
I am programatically doing an RTC query.  Here is a snippet of the pertinent code

recAttr = factory.findAttribute(projectArea, IItem.MODIFIED_PROPERTY, auditableClient, null);
        Timestamp ts = new Timestamp(113, 5, 20, 17, 57, 0, 0);
        recExpr = new AttributeExpression(recAttr, AttributeOperation.AFTER, ts);

The query always comes back with every item in the project area regardless of the modified time.

I created a Java application to demonstrate the problem and can attach the complete source if that would help.

Be the first one to answer this question!

Register or to post your answer.