Switch not working on empty value
Summary
Switch not working on empty valueContent
Hi everybody,
I've a Switch for checking if a field is present in the request, but when the field is not in the request it's behaving like it had a value. If in the request the field is present but empty it works fine. The problem is that this field is not mandatory and the calling user may not enter it in the request.
My switch expression: /nssrcmpr:createUpdateAccount/nssrcmpr:arg0/nssrcmpr:partyId = ""
If I have <acc:partyId></acc:partyId> in the request it works fine
But if I don't have <acc:partyId> element is entering in the 'Otherwise' branch
1