Hi,
File / Path Exists Activity does not work.
How can I check instead / any other solution?
Thx for suggestions.
KR, Vanja
Hi,
File / Path Exists Activity does not work.
How can I check instead / any other solution?
Thx for suggestions.
KR, Vanja
Hi @VanjaV
Could you please include some specifics? I suppose the same can be achieved with an expression, but I am curious what exactly doesn’t work?
I get the “False” response, but the path with file is given ok.
Error exists since friday.
It worked fine until friday.
In this case, would it be possible for you to share some more specifics (maybe a dummy xaml of this issue?). If there is a bug like this, we will have to fix it and a dummy project would help us reproduce the issue.
Otherwise, for the issue at hand, please double check with this simple expression:
Hi @VanjaV
1st method File exists it will work I don’t know why its not working your case
In this case just mention the your file path and create the Boolean variable
2nd method
try this way
You can directly mention use this in the IF condition If the file present it will go True or Else it will go to Else part
System.IO.File.Exists("Yourpath")
Regards,
Gowtham K
Thank you @Gowtham_K115 , 2nd method gives false as well.
I guess something has changed on the server / system
Thx for help
@VanjaV Your condition look like this right
System.IO.File.Exists("D:\Testing_Purpose\New Microsoft Excel workbook.xlsx")
Yes
and explorer opens XLS within string.
@VanjaV check your file path variable (str_Path_TimeTableRuntimes) giving the correct file path or not, before if condition use the log message the check the value
explorer opens XLS within string → log before if
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.