In Season 2, Episode 13 of “The Office”, Jim eventually falls in love with Pam and quickly damages control to suggest that it was a one-time thing he did for his co-workers long before the movie. started filming the fantasy movie. . Halpert explains to Pam that he had a crush on her when she first started. It is clear that he is lying about the fact that he used to had feelings for her, but this clearly shows that Pam started working at Dunder Mifflin after Jim.
However, later in the same episode, Pam recalls the first time she and Jim met, saying, “enjoy this moment, because you’ll never be back in this moment before you met.” my tablemate, Dwight.” This implies that Pam started working there first. With that in mind, it would suggest a slight slide in continuity in the scripting department. That or the Scranton branch is stuck in a complicated time loop, which we’re perfectly fine with, as long as it restarts right after Michael takes off from the airport.
https://www.looper.com/758737/the-jim-and-pam-continuity-mistake-you-likely-missed-on-the-office/ Jim and Pam’s constant mistake that you might have missed when going to the office