Wash, clean or peel the soup greens and cut into small cubes. Dab meat dry if necessary. Heat oil in a roasting pan. Fry the meat in it at high heat in portions and take it out.
Meanwhile peel and chop the onion and garlic. Put onion, vegetables and tomato paste into the pot and fry briefly. Put the meat back into the pot and season with salt and pepper. Sprinkle with flour and sauté while stirring.
Add paprika, deglaze with red wine, add broth, bring to the boil and loosen the roasting set. Cover and braise in the preheated oven (electric cooker: 175 °C/ circulating air: 150 °C/ gas: level 2) for about 2 hours. In the meantime, pour on some water or broth if necessary.
Peel the pumpkin, remove seeds and dice the pulp. Wash thyme, dab dry and, except for something to garnish, pluck leaves from the stalks. Chop half very finely. Peel and slice the potatoes.
Cook in boiling salted water for about 2 minutes, rinse in cold water and drain. Whisk egg and starch, season with salt, pepper and thyme leaves. Carefully mix potato slices with it.
After about 80 minutes first add pumpkin cubes and chopped thyme to the goulash, season with salt and pepper, then cover with potato slices in flakes and cook for about 40 minutes. Remove and garnish with the remaining thyme.