Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Report on changes that has been open for more than 7 days

Thereza Van der
Tera Contributor

Hi

 

I would like to create a report that shows all changes that has been left open 7 days after implementation date/planned end date.

 

I used the relative operator but struggle to get it to show the correct info.

 

Any guidance would be appreciated, thanks.

 

Regards

Thereza

3 ACCEPTED SOLUTIONS

Bert_c1
Kilo Patron

Hi Thereza,

 

Do the following conditions work for you?

 

Screenshot 2023-07-21 103044.png

 

If so, you can define a report with the same conditions.

View solution in original post

Hi Thereza,

 

There is also "at or before", "Last 7 days" as in below

 

Screenshot 2023-07-21 112811.png

that does use week. I'm glad I helped.

View solution in original post

Bert_c1
Kilo Patron

Hello Thereza,

 

I believe using "Week" will use Sunday as boundaries, but I found:

 

Condition Builder - Date/Time fields

 

Which confirms my thinking.

View solution in original post

6 REPLIES 6

Bert_c1
Kilo Patron

Hi Thereza,

 

Do the following conditions work for you?

 

Screenshot 2023-07-21 103044.png

 

If so, you can define a report with the same conditions.

Hi,

 

Thanks, that works perfectly. I tried the below filter in the mean time and it also works but I think yours is more on the spot. We have open changes that are older than 7 days that also shows up on my report and that is not what I want but I thought I'll leave it on there for now so people can see it every week and eventually close it so we can get more accurate stats.

TherezaVander_0-1689951826999.png

 

 

Regards

t

Hi Thereza,

 

There is also "at or before", "Last 7 days" as in below

 

Screenshot 2023-07-21 112811.png

that does use week. I'm glad I helped.

Thereza Van der
Tera Contributor

Thanks!

 

Can you clarify something else for me please? If I use 'This week' or 'Last week', how is the week counted? Say for instance I create a report on a Wednesday and I use 'This week' which days are this week? Same for 'Last week'?