Is it common to die at work?
Solution 1:
The only thing I can find about this seems to indicate that it's a problem with your Sim running out (or, ew, overflowing) of something important stat-wise during the workday.
Apparently your Sim doesn't think to stop to eat lunch or go to the bathroom during the day, so you've got to make sure they eat a big breakfast and take a potty break in the morning hours, lest they collapse at work from an overeager bladder when you're not there to tell them to pee.
Try seeing if you can't get them through the day if they head off to work with all their "needs" properly met.