gs.adderrormessage does not display message when used in simple After update BR

Shilpa Mekapoth
Tera Expert

Iam trying to throw an error message on Incident form via an after update BR using 

gs.addErrorMessage('xxxxxx');

But the error message doesnot show up .

I could verify the the BR is called logged an info message.

Trying to understand if there is limitation that gs.addErrorMessage doesn't work via BR.

Any suggestions are much appreciated.

9 REPLIES 9

Maik Skoddow
Tera Patron
Tera Patron

Hi

please share the Business Rule configurations.

Kind regards
Maik

Saiganeshraja
Kilo Sage
Kilo Sage

Hi Shilpa,

Error Message works even in after BR. Share your script to understand.

Shilpa Mekapoth
Tera Expert

find_real_file.pngfind_real_file.png

hi @Shilpa Mekapothula 

I dont see any issues in your code.

Please check whether all conditons are matching in your incident form and try.

If the conditions are matching and still you are not able to see the error message change the order to 1 and try.

 

Thanks

Murthy

Thanks,
Murthy