Regarding date field validation

SNOW24
Tera Contributor

Client Script : onChange
Create a new date field 'NEXT REVIEW DATE' and write code. Condition is : restrict the date field as it may allow only next 10 days from today

 

1 ACCEPTED SOLUTION

Ah oke.

Out-of-the-box, its the combination of Category and Subcategory. Especially Subcategory is important to look at.

 

When opening the dictionary for Subcategory:

 

1.

MarkRoethof_0-1690178849670.png

 

2.

MarkRoethof_1-1690178900749.png

 

That's all! Zero scripting or GlideAggregate.

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

View solution in original post

8 REPLIES 8

Mark Roethof
Tera Patron
Tera Patron

Hi there,

 

Can you explain your question a bit more?

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

if i select catagory, i need to get all related sub catagories. For  that what configurations we need to do.

for example. if i select catagory as inquiry .we get some sub catagories like Antyvirus, email, internal application.

for this , what we are supposed to do in dictionary.

 

So thats than not scripted, so nothing to do with GlideAggregate as your topicname says (or your renamed it now I see)? That sounds more what you do manually in the incident form? Is that what you are after, to know how the logic behind that works?

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

yes