Cook the pasta according to the instructions on the packet until al dente, strain and keep warm.
Roast the diced onion in a pan with hot oil. Sprinkle the rosemary over the top, add the chopped vegetables one after the other according to the cooking time and roast them. Pour in the vegetable stock and steam until the vegetables are cooked but still firm to the bite.
After 6 to 8 minutes, season with salt and pepper, mix in the Farfalle and simmer for another 2 to 3 minutes. Now fold in the ham cut into narrow strips and let it warm through. Finally sprinkle the parsley.
Arrange the dish on preheated plates and serve immediately. If you like, you can sprinkle it with parmesan.