I am rewiting a RM4.1 rule in RM5.0 and came across this error. It looks like I only need the If statement to reproduce the error so I have stripped all other actions,
Rule 4.1, code works.
Logging reports
When the rule is run.
Rule 5.0 reports an error
Logging reports
When the rule is run.