The comic went to see the Tron: Legacy star while she was working on upcoming comedy Drinking Buddies, and he ended up on camera himself.
Wilde explains to New York Post gossip column Page Six, "(Sudeikis) thought he was just coming to visit me for lunch - and he ended up playing my boss, and he's hilarious. It was very hard not to crack up during that scene. I'm very grateful he did that."
The film's director, Joe Swanberg, adds, "Jason got roped into the movie."