isnotempty in business rule

samadam
Kilo Sage

I am checking to see if a answer to survey response is null or not. The field is a multiline string field. I tried != null and current.valueISNOTEMPTY, current.value|ISNOTEMPTY but no luck. Is there any other way to check this?

Thanks

1 ACCEPTED SOLUTION

samadam
Kilo Sage

I tried !current.value.nil() and it worked


View solution in original post

5 REPLIES 5

.nil() is good because it checks for NULL, blank, and empty strings.   But for references I like to use =="" since they seem to prefer it... and when you want to blank them in a Client Script use setValue("assigned_to","") instead of clearValue which creates a NULL, and null references have their own sysid for some reason so you can't group by or report on NULL references because they're all different.