I am running an automation to validate field attributes values. Having logic with multiple attributes. I am doing this in a ScriptRunner function.
Is there a way to display an error message to user and prevent data to be saved until data is corrected?
I tried throwing an exception, but was not able to create properly the exception. Is there a simple way to do this?