Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Schedule report in business hours

rubicastro
Tera Contributor

Hello everivary.

I have a question, I need to chagne a schedule report where was working if in two days doesn't correspond to business days and hours. I did a new report with SLA but the this doesn't represent why they want. They want a script but I don't know who and where put the script. Because I think if I'll do a scrip I'll need a new field.
The screenshot represent the report that is expected to have only for business days and hours.

 

rubicastro_0-1737053740125.png
If someone have an Idea I'll appreciate.
🙂 

 

6 REPLIES 6

Robbie
Kilo Patron
Kilo Patron

Hi @rubicastro,

 

Can you expand a little. When you mention the business want to use a script, what is the functionality of the script or what are they trying to determine via a script?

You can leverage a script via the condition builder directly in the report for example, or, if my assumption is correct, via the Scheduled Report you can also add a conditional script as demonstrated with an example in the ServiceNow learning Docs:

https://developer.servicenow.com/dev.do#!/learn/learning-plans/xanadu/new_to_servicenow/app_store_le...

 

To help others (and for me to gain recognition for my efforts), please mark this response correct by clicking on Accept as Solution and/or Kudos.




Thanks, Robbie

Is a little confusing, what I try to do is make the report only for business hours, in the condition builder I use; Updated-relative-after 2 days. But the condition doesn't represent on business hours on days, just show 2 days.

Is a little confusing, what I try to do is make the report only for business hours, in the condition builder I use; Updated-relative-after 2 days. But the condition doesn't represent on business hours on days, just show 2 days

Ankur Bawiskar
Tera Patron
Tera Patron

@rubicastro 

Your requirement is not clear.

Are you saying you don't wish to send scheduled report on non-business days?

How is it configured currently?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader