Hi,
I am trying to use a simple scripted condition to test a scripted custom field which is the adition of two other fields and I try to compare this value to an int.
This is what I have :
((cfValues['Total Value'] ?: 0) as Integer) >= 250000
My scripted field code :
def aval = getCustomFieldValue("Value Design Phase")
def bval = getCustomFieldValue("Value Production Phase")
return aval+bvalThe error when I do the preview :
For input string: "252500.0"
Thanks in advance for the help.