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.

Preventing resource assignment past end date

JayanthiHCL
Tera Contributor

how are calendars used for restricting/preventing resource from assigning past end date?

4 REPLIES 4

svirkar420
Tera Guru

Hi there @JayanthiHCL , You can achieve this using UI policy and Client script as well.

Here is a working UI policy.

Refer to the screenshots and try-

svirkar420_0-1761619679297.pngsvirkar420_1-1761619693509.png

This will restrict users from entering the past dates. Just change the table and field name as per your requirement.


If this answer helps you in any way make sure to Mark this as accepted solution and give a thumbs up this will also benefit others as well.
Regards.
Saurabh V.

Hi @JayanthiHCL , Did you get the time to try my solution, Did it help? Are you stuck anywhere?


If my answers given earlier were helpful then Please Mark this solution as accepted and helpful as it will be helpful for other users as well.
Best Regards.
Saurabh V.

svirkar420
Tera Guru

HI there @JayanthiHCL , DID you try my given solution? 

If my answers given earlier were helpful then Please Mark this solution as accepted and helpful as it will be helpful for other users as well.
Best Regards.
Saurabh V.

No, I am looking for preventing resource being assigned in resource assignment beyond their contract / employment end date.