Data Certification - CMDB

baig_rh
Tera Contributor

Hello,

 

Is there a way to not allow users to certify the task if the certified element or display element on the task is empty or inactive.

Empty for Example - CI server record has certified field as Approval Group, if the same is empty then the users should ideally fail the task, but some users mark it as Pass/certifed, as there is no validation, can we put the validation like a message by validating the elements and do not allow to certify if the validation is true.

 

 

4 REPLIES 4

Danish Bhairag2
Tera Sage
Tera Sage

Hi @baig_rh ,

 

What I could suggest here is u can create an onLoad client script which will call a script include to check the fields mentioned in the certification schedule are all filled or not if any one or more than one is empty u can just return something to client script lets say false n based upon that u can display n alert stating following fields are empty please do not mark it as pass/certified.

 

Thanks,

Danish

This should happen when user clicks on certify or pass, i believe we need to modify OOTB UI macro, i need help with code and details.

AJ-TechTrek
Giga Sage
Giga Sage

Hi @baig_rh ,

 

You should configure the data certification in correct way, you need to just twik your conditions.

 

Refer the below docs, which may help you alot on this.

 

https://www.servicenow.com/community/in-other-news/what-is-the-data-certification-plugin-and-how-can...

 

https://www.servicenow.com/community/now-platform-blog/servicenow-data-certification-demo/ba-p/23327...

 

Please appreciate the efforts of community contributors by marking appropriate response as Mark my Answer Helpful or Accept Solution this may help other community users to follow correct solution in future.

 

Thanks

AJ

Linkedin Profile:- https://www.linkedin.com/in/ajay-kumar-66a91385/

ServiceNow Community Rising Star 2024

Hi Ajay,

 

i am looking to add validations in UI script