In above image you can see i put a condition if dc count is not equals to 2 it goes to the if equals it goes to else but some times DC comes with Empty Variable that time it throws error like
" if: Value cannot be null. (Parameter ‘Source’) "
How to handle this if value is null also
Thanks in advance
Since DC might be empty some time, you can use another if condition before DC.Count <> 2 to ensure the DC value:
Hope this helps,
What about this condition in if activity
not string.IsNullOrEmpty(“DC”) And DC.Count<>2
How about the following condition?
DC isnot Nothing AndAlso DC.Count<>2
DC is Nothing OrElse DC.Count<>2
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.