How to deal with people and colleagues who are angry, complaining or seeking attention? For some reason I'm a magnet to bad people or people who are chronic complainers or attention seekers. They often come to me when they need to talk or vent. Especially at work. I don't really want to talk to them but I'm too friendly and not good at setting boundaries and I often just listen to them offering advice. It stresses me, especially when they are angry and they come to me to talk about it.
How can I deal with this in a skillful manner? I tried practicing Metta towards them which didn't work due to their negativity being too strong.
Difficult question because you wouldn't want these angry people turning on you because such people in the workplace often do. These people are often loitering in the workplace and can be a real danger. I left my last job due to such a person, who for years, I listened to, so often helped them with their work &amp; at times even did their work for them. They were a talk-aholic, who had very low productivity (who I could manage due to my high productivity). But, during a certain issue, they turned against me &amp; were used as a pawn to attack me.
Your 1st priority is your work. You don't want to be seen by your employer spending your time talking to others rather than working. The suttas say:

The employees thus ministered by their employer show their compassion
to him in five ways:
(i) they rise before him, (ii) they go to sleep after him, (iii) they
take only what is given, (iv) they perform their duties well, (v) they
uphold his good name and fame.
Sigalovada Sutta

In Buddhism, it is taught to never harm oneself for the sake of another.


Let one not neglect one's own welfare for the sake of another, however great. Clearly understanding one's own welfare, let one be
intent upon the good.

Dhammapada

You can possibly begin by replying: &quot;I am really busy now and must focus on my work. Maybe we can talk during the tea break or lunch break&quot;.
You might find these people won't want to waste their tea &amp; lunch break talking.