American Idol 8 p.m., Fox
Cue the confetti storm, the tears, and the filler. Tonight’s season finale will crown “your new American Idol,” even though you may not be watching because you may not care whether the winner is Candice Glover (left) or Kree Harrison. Rumored guests include Adam Lambert, Jennifer Hudson, and Jennifer Lopez, who is considering a return to the judge’s panel next season. Thursday night’s episode will be Randy Jackson’s last, after 12 seasons.
The Office 8 and 9 p.m., NBC
Finally, after too long, “The Office” leaves the air. The two-plus hour farewell will begin with a retrospective, featuring interviews with cast and crew. And then at 9, the 75-minute last episode will begin. Set months after the documentary-within-the-show airs, new and old staffers (Michael Scott?) gather for a wedding (Dwight and Angela?) and a series of final interviews. By the way, there’s a sweet (sniff, sniff) video at the NBC website with assorted cast members saying goodbye.
Elementary 9 p.m., CBS
Grey’s Anatomy 9 p.m., ABC
A doctor’s life is in jeopardy. Yup, the season finale.
Scandal 10 p.m., ABC
Wait, I thought Nina was the mole.Matthew Gilbert can be reached at firstname.lastname@example.org. Follow him on Twitter @MatthewGilbert.