Join us Dec. 16 for The Community Hour, our first global virtual User Group event!

how to create scheduled reports for quarterly & yearly ?

allu srihari
Tera Contributor

hi can anyone help me to create scheduled script for quarterly and yearly on last day of the month

1 ACCEPTED SOLUTION

Mark Roethof
Tera Patron

Example (= tested):

find_real_file.png

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP

---

LinkedIn
Community article list

View solution in original post

9 REPLIES 9

Mark Roethof
Tera Patron

Hi there,

You have to apply monthly + in the condition check on the month number for example.

So yearly, month 1, quartly month 1/4/7/10.

For example using:

new GlideDate().getMonth() == 1

Etc.

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP

---

LinkedIn
Community article list

how to get the requirement on last day of the month (31st)?

And for "on last day of the month" you have to use the 31st.

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP

---

LinkedIn
Community article list

allu srihari
Tera Contributor

can you send the script for this?