Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Macro to return only certain times of tickets

Status
Not open for further replies.

troyu

Programmer
Nov 21, 2000
185
CA
I would like to build a macro that would return only certain times of the day for say 4 days in a row.

For example, I would like to see tickets created from 4am - 8am from Mon-Fri. I do not want to see tickets that were created outside of these times.

Any ideas?
 
Why not use a escalation that calls a macro for those particular time?
 
I would like the macro to return tickets for an entire month for example, excluding weekends.
 
Worst case scenario, you may have to query for each date/time range (for example, ('Create Date' >= &quot;2/1/02 4:00:00AM&quot; AND 'Create Date' < &quot;2/1/02 8:00:00AM&quot;) OR
('Create Date' >= &quot;2/4/02 4:00:00AM&quot; AND 'Create Date' < &quot;2/4/02 8:00:00AM&quot;) OR
...... and so on). Depending on which database you are using behind Remedy, you may find easier ways of doing this. But this should do the job.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top