Why does the Debugger work when the expression does not


(Mark Hannay) #1

The Debugger works for each possibility in the expression (below), however there is still a red X which will not allow the argument to run: " The expression result type STRING must be convertible to expected type BOOLEAN"
src_DIS_YIELD is a float

Case(src_DIS_YIELD is null,‘DIS_YIELD IS NULL’,
round(src_DIS_YIELD,2) is not src_DIS_YIELD,‘DIS_YIELD IS > 2 DIGITS AFTER DECIMAL POINT’,‘FALSE’)


#2

It looks like you are using Column Assigner step. And type of the column you trying to assign value to is BOOLEAN. Where as your expression evaluates to STRING.

So change type of the column you a trying to set value to.


(Anh Duc Tran) #3

Hi Alexander,

Mark had a different issue with the Simple Scoring step. We already solved it in a ticket.

Thank you for your response.

Best regards,
David Tran