i dont want this message --"Invalid value on insert"  how to remove this error message ?

kiran kumar m1
Tera Contributor

I have a field on my form named meetingid , I dont want  duplicates in that meetingid. so I have created a Before business rule on insert and update .  the Br is such that 

  var gr = new GlideRecord('x_hete_mycomplaints');
    gr.addQuery('sys_id', '!=', current.sys_id);
    gr.addQuery('meetingid', current.meetingid);
    gr.query();
    if (gr.next()) {
        gs.addErrorMessage("The meeting ID already exists, kindly provide a new one.");
        current.setAbortAction(true);
      

    }
 
but when I am updating or inserting any ticket with  a duplicate meetingid iam getting two error messages 
 
one that i have created in the BR-  "The meeting ID already exists, kindly provide a new one."
 
another error message is --Invalid value on insert
 
i dont want this message --"Invalid value on insert"  how to remove this error message ?
 
 
Screenshot (384).png
1 REPLY 1

Maik Skoddow
Tera Patron
Tera Patron

It's a platform message as a result of an aborting before BVR and cannot be suppressed.