Incorrect empty string check
Category
Quality
Summary
It is common when creating microflows to check for empty strings. The recommended way of checking for an empty string is using the Community Commons IsEmptyString or IsNotEmptyString rule. If this doesn't meet your needs (because you need to perform additional logic in a decision), you need to be careful to check strings in the correct way otherwise it is possible to generate a runtime exception by accessing an empty variable.
Options
This check does not have any options.
Pass
Your microflow doesn't contain any checks for empty strings that might throw a null pointer exception, or produce an incorrect output (= check for empty string returns true while the string is actually empty).
Fail
Your microflow contains a checks for an empty string that might throw a null pointer exception, or produce an incorrect output (= check for empty string returns true while the string is actually empty).
Last updated