I am using OOB data certification. While certifying CIs , user should not be able to certify empty elements. Please see image in the description.

Sachin Gavhane
Giga Guru

find_real_file.png

As shown in above pic, user should not be able to certify empty elements as marked in yellow. There should be some error when user tries to certify these empty elements.

Please help

1 ACCEPTED SOLUTION

Business Rule which you need to set up will look like below:

BR Details;

Table: Certification Element:

Condition: State Changes to Certified

Script :

(function executeRule(current, previous /*null when async*/) {

	// Add your code here
	if(current.certified_value == ''){
		gs.addErrorMessage('Empty Field Values cannot be certified');
		current.setAbortAction(true);
	}

})(current, previous);

find_real_file.png

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

View solution in original post

16 REPLIES 16

HI  all and Sachin ,i have same requirement if you were able to achieve the  error mesg when user trying to certify with empty fields kindly help me out im struggling with this 

  thank you all

Hi,

You can find under the humberger menu from the top left, navigate to table.

 

Thanks,

Bill