Jennifer Lopez is heading back to “Will & Grace,” and this time she’ll be performing two different roles, TheWrap has learned.

The singer and actress will appear both as herself and as her “Shades of Blue” character detective, Harlee Santos. No further details about her arc or the air date for her appearance on the newly-revived sitcom have been released.

Lopez first guest starred on “Will & Grace” in two Season 6 episodes, in which she played herself and performed at Karen’s (Megan Mullally) wedding. In that plot-line, Lopez apparently grew up with Karen’s maid, Rosario (Shelley Morrison), in the Bronx. She sang her hit “Waiting for Tonight” at the nuptials and had Jack (Sean Hayes) fill in as one of her backup dancers.

Latest entertainment videos

Now Playing:
  • Now Playing
    Dozens of stars wore black on the Golden Globes red carpet Cosmopolitan
  • Essence Now January 9: Oprah for President, Plus Trina Talks ‘Love & Hip-Hop Miami’ EssenceTime
  • Gal Gadot Channels Her Inner Warrior Princess in Slashed Gown and Serpentine Stilettos InStyleTime
  • Sea of black at the Golden Globes AP
  • Pregnant Kate Middleton Bundles Up Her Baby Bump in Chic Navy Peacoat InStyleTime
  • Kim Kardashian Says Kanye West Told Her to Stop Wearing Big Sunglasses Over Email InStyleTime
  • Kidman: 'Big Little Lies' success 'allows us to speak' AP
  • Lana Del Rey Says Radiohead is Suing Her 'Their Lawyers Have Been Relentless' EWTime
  • Henry Winkler Teases Working With 'The Entire Cast' In The New Season Of Arrested Development EWTime
  • A New Hobbit Village Is Getting Lord Of the Rings Fans Excited Vocativ

The guest spot expands Lopez’s already extensive working relationship with NBC. In addition to the police drama “Shades of Blue,” she also executive produces and serves as a judge on the dance competition series “World of Dance,” which was renewed for a second season last summer. She is also set to star in the network’s live staging of the musical “Bye Bye Birdie” later this year.

Vanity Fair first reported news of her return.

“Will & Grace” airs Thursdays at 9/8c on NBC.

Read original story Jennifer Lopez Set to Return to ‘Will & Grace’ in 2 Different Roles At TheWrap