Dishwasher won't run

My Jenn-Air dishwasher will not run. :frowning: This started two days ago. Originally the number on the panel would flicker and it would start running then stop. I then would have to use the DRAIN to drain what little water it did dispense. After a few times, it finally did wash. :confused: The rinse button is working and would rinse. As of today, the light on the panel did flicker and it did dispense water, but now it is making a clicking noise and will not proceed with the wash cycle. And now the DRAIN will not work. It is less than 5 years old… I am really getting disappointed with my Jenn-Air appliances. I had problems with my oven about a year ago, now the dishwasher. :mad: HELP IF POSSIBLE!!!

check the door micro switches in door latch