Among the truly minor questions settled by Tuesday’s presidential election was this one: Would Joe Biden get a chance to play a winner on a sitcom?

The answer is yes.

With the race won, a guest appearance by Mr. Biden on the NBC comedy “Parks and Recreation,” filmed way back in July, can finally be revealed. Everything about the scene, which the executive producer of the show, Michael Schur, labeled a “scenelet,” had been under strict secrecy. The show was warned that if any word leaked out before the election, some provision might have to be made to give the Republican vice-presidential nominee, Representative Paul Ryan, a similar cameo.

“It was all very byzantine and complicated,” Mr. Schur said. “There seem to be all kinds of specific rules, which I never fully understood. But we decided to err on the side of caution.”

The re-elected vice president will make a guest appearance on the episode scheduled for Nov. 15 on NBC. He is playing, yes, Joseph R. Biden Jr., the one who has frequently been mentioned in a running joke on the show as an object of fascination — and a little love-struck passion — by its lead character, Leslie Knope, played by Amy Poehler.