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.

validation for my catalog item variables - dates cant be more than 14 days apart

Paulina
Tera Contributor

Hi,

 

I am trying to prepare a validation for my catalog item variables. 

I have 2 variable named: 'paternity_start_date' and 'paternity_leave_end_date'

 

I want to have 2 validations:

1. End date cant be before start date

2. period cant be longer than 14 days. Leave can be shorter, but cant exceed 14 days (14 days included).

 

Would you be able to assist me here?

0 REPLIES 0