Hi
Expression i used is:
if(todate(ri!vehicle.vehicleNextMaintenanceDate) <todate(ri!vehicle.vehicleLastMaintenanceDate), “The nextmaintenance date must be after the last maintenance date.”,null)
Below message is the error i got while working on interface.
Could not display interface. Please check definition and inputs. Interface Definition: Expression evaluation error at function 'if' [line 59]: Invalid number of parameters, function 'if' a minimum of 3 parameters (condition,true,false), passed 1.
Discussion posts and replies are publicly visible
This code has no error I have run it on my enviroment, please check it again Is there is another if condition that generates this error
Hello shiva_ram, your code is working fine. Might be some other if() condition in your expression.