Validate Task in a Instance

Dinh Nguyen
Kilo Sage

Hi everyone ! Is it possible or is there any feature similar to Validate Task as shown in the picture?

Please someone help me !

Thank you so much.

DinhNguyen_0-1705467108379.png

 

3 ACCEPTED SOLUTIONS

Anil Lande
Kilo Patron

Hi,

Yes you can create custom functionality in ServiceNow to to perform client/server side validations.

 

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

View solution in original post

BalaG
Kilo Sage

Hello @Dinh Nguyen  I believe each of these 'validate tasks' is a custom script. For instance the example you have included, there are two steps being validated, pinning the "All" menu and creating a favorite, each generates  or updates a record. The custom script simply checks for these records

 

1. Pinning will update record in the sys_user_preference table as shown below

 

Screenshot 2024-01-16 at 9.26.20 PM.png

 

2. creating a favorite creates a new record sys_ui_bookmark table to keep track of the favorite.

 

Hope this helps

--

Bala Guthy

Please mark this as a solution or helpful as you see fit

View solution in original post

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Dinh Nguyen 

 

NO , OOTB no way to do this. You need to create a custom action with all backend logic to use this. 

*************************************************************************************************************
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]

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

View solution in original post

3 REPLIES 3

Anil Lande
Kilo Patron

Hi,

Yes you can create custom functionality in ServiceNow to to perform client/server side validations.

 

Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande

BalaG
Kilo Sage

Hello @Dinh Nguyen  I believe each of these 'validate tasks' is a custom script. For instance the example you have included, there are two steps being validated, pinning the "All" menu and creating a favorite, each generates  or updates a record. The custom script simply checks for these records

 

1. Pinning will update record in the sys_user_preference table as shown below

 

Screenshot 2024-01-16 at 9.26.20 PM.png

 

2. creating a favorite creates a new record sys_ui_bookmark table to keep track of the favorite.

 

Hope this helps

--

Bala Guthy

Please mark this as a solution or helpful as you see fit

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Dinh Nguyen 

 

NO , OOTB no way to do this. You need to create a custom action with all backend logic to use this. 

*************************************************************************************************************
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]

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