Forum Discussion
Yoann_Maingon
9 years agoAccelerator I
on an event like "onBeforeUpdate"or on the lifecycle transition your context will be the full content of your object.
So in your method you should do some test like:
if (this.getProperty("product_line","")==""){
return this.newError("product line not selected");
}