I’ve tried several of the other flow control conditions and still can’t get this to work.
The problem is certainly most likely caused by the value being blank, though one would expect this to work for the “Exists” and “Does Not Exist” operators.
The 'exists' and 'does not exist' operators are there to test whether a variable has been defined. This would generally be used for checking for the existence of server variables.
The following If statement would be used to test if no value has been provided.
If ['%websitename%' Equals '']
STOP (Fail)
However, this was incorrectly showing an error "The right side of the expression was not specified". You should see this in your build log.
Thanks for reporting this bug. We have now fixed it and we should have a new build out later today.
Note that an alternative option would be to set a default value for the variable e.g. "none" and then check for this value in the If statement.