Plumber told me to put vinegar into it, which sounds like the same principle.
I have a dishwasher that says an upright glass of vinegar is an option if dishwasher cleaning tablets aren't powerful enough but warns that it is harsh on the plastics and seals.