Cant understand why my If condition logic is failing in prod

hi everyone the if condition seems working fine untill i am checking it through local machine, but production environment it fails

it doesnot go inside my if condition

this is my path: “C:\Pl\Input\apr2024_4.pdf”

can someone help here ?

@samantha_shah

Print the file path and check what you are getting

And also…try to remove dot and check

Cheers

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.