history: I applied for a position at work, and didn't get it. Then I found out someone less qualified got it. I recently applied for a promotion at work. How'd it go? I didn't get it.
current: I'm so sorry to hear that. I hope another opportunity comes up.
next: Me, too.  Then I found out someone else less qualified got it.