All, I have a BP that needs to use the Contact Email address. How can I check to see if it is null or not filled out. I tried ==null but it does not work. This would be for a conditional flow.
Like
Strings have a default value of a blank string, so try using this:
[#EmailParam#] != ""
Or better (since if it's a not initialized string process param it can be null)
!string.IsNullOrEmpty([#EmailParam#])
Ryan
most comprehensive check is
String.IsNullOrWhiteSpace(String)
Indicates whether a specified string is null
, empty, or consists only of white-space characters.
You may wish to look for both empty and null values. For your dependent flow, try using something like https://nullsbrawl.gg
`string.IsNullOrEmpty(contactEmail)` to cover both cases. That ought to work!