Michael,<br><br>Ruslan's logic is correct.<br><br>Although I believe it could be shorter since the "Resolved" field is a <i><b>date field</b></i> and shouldn't have a value unless the ticket has been resolved.<br>
Therefore 'Resoved > 7 days ago' would work as it interprets your situation as<br>"if the resolved date has a date greater than 7 days ago', that would mean any ticket with a "Resolved Date" within that last 7 days would meet the criteria.<br>
<br>Kenn<br><br><br><br><div class="gmail_quote">On Wed, May 2, 2012 at 11:41 AM, <a href="mailto:ktm@rice.edu">ktm@rice.edu</a> <span dir="ltr"><<a href="mailto:ktm@rice.edu" target="_blank">ktm@rice.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Wed, May 02, 2012 at 06:35:18PM +0000, Izz Abdullah wrote:<br>
> Oddly, I think Ruslan's logic was correct. We have one for 'Older than x days' and it goes like this:<br>
> LastUpdated < 'x days ago'<br>
> AND (<br>
> Status = 'new'<br>
> OR Status = 'open')<br>
> AND (<br>
> Queue = 'General'<br>
> OR Queue = 'Another Queue to Monitor')<br>
><br>
> You get the idea on the first line...<br>
><br>
<br>
</div>The "<" should be translated as "before", not less than and ">" should be treated as<br>
"after" and not "greater than". So the query wants all ticket with a LastUpdated date<br>
AFTER the day, 7 days ago.<br>
<br>
Regards,<br>
Ken<br>
<br>
</blockquote></div><br>