Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Friends,
My job is showing an error when using the equals () expression below:
(row1.DS_PRIORIDADE).toUpperCase().equals("X") ? 1 :
((row1.DS_PRIORIDADE).toUpperCase().equals("Y") ? 2 :
((row1.DS_PRIORIDADE).toUpperCase().equals("Z") ? 3 :
((row1.DS_PRIORIDADE).toUpperCase().equals("w") ? 4 : 0)))
Can you help-me?
@Dayse ,What are error are you getting ? is DS_PRIORIDADE string data type and output field data type should be integer based your expression.