Error message when greater than 25

BenjaminY
Tera Contributor

Hello,

 

I am task to create a UI policy on a form when the field "enter_time_spent_in_hours" is filled the integer must be greater than 25.

BenjaminY_0-1720533112777.png

 

 

 

6 REPLIES 6

Mark Roethof
Tera Patron
Tera Patron

Hi there,

 

What is the issue you are running into? As you are mentioning yourself, UI Policy. UI Policy contains a pretty easy condition builder. So what's the issue you are facing?

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

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

LinkedIn

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @BenjaminY 

 

where you stuck? Look like easy to do in UI policy. You just need to 1 line in Script 

error message. 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Rupanjani
Giga Guru

Hi @BenjaminY ,

 

Can you elaborate the issue you are facing, so assisting would be easier.

 


Mark the response correct and helpful if the answer assisted your question.

BenjaminY
Tera Contributor

my apologies, I am using a UI policy, but need help in scripting. 

BenjaminY_0-1720539130303.png