Due date field is giving an error

tushar_ghadage
Tera Contributor

I want to restrict the selection of past date on the "due date " field on the p_task

for that i have create ui policy for the same..

 

but whenever i try to complete or cancle the p_task it shows the error mentioned in the ui policy ( even when due date field is emtpy)

how and why can anyone please suggest ..? 

below is the SS for the error -

Screenshot (524).png

 

10 REPLIES 10

@tushar_ghadage 

you can use client script and check the view name

Based on that handle the logic.

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader