We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Choice option on data type

dhivyal94299399
Tera Contributor

 

I wanted to add filter option : 1 business day, 3 business days, 2 business days, 

 

In which module i can add them or this is possible

 

 

dhivyal94299399_0-1782114204086.png

 

10 REPLIES 10

Tanushree Maiti
Tera Patron

Hi @dhivyal94299399 

 

Refer:

https://www.servicenow.com/community/platform-analytics-forum/how-to-add-additional-predefined-range...

 

Define business calendar filtering options 

 

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

This solution is applied for workspace, not for platform

Tanushree Maiti
Tera Patron

Hi @dhivyal94299399 

 

Check this article.

Configuring Lists in Configurable Workspace

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

harshrohit
Tera Contributor

Yes, this is possible using a Dynamic Filter Option.

You can create a custom Script Include to handle the date logic for conditions such as Last 10 Days or Last 14 Days. Then, create corresponding records in the Dynamic Filter Options table (sys_filter_option_dynamic) and associate them with the Script Include.

Configuration :

  • Name: Last 10 Days / Last 14 Days
  • Type: Date/Time
  • Filter as an option: Checked
  • Script Include: Your custom Script Include

Once configured, users can apply the filter using:

Date Field → is (dynamic) → Last 10 Days

or

Date Field → is (dynamic) → Last 14 Days

This approach allows you to add custom date-based filtering options while keeping the out-of-box date filters unchanged.


If this helps answer your question, please consider marking it as Helpful and Accept as Solution