Hi,
I need to check if a .csv file exists or not, if it exists I have to executes activity 1 and 2, if it doesn’t exist it has to executes directly the activity 2.
How I can do this?
So far I am here:
Thanks,
Diego
Hi,
I need to check if a .csv file exists or not, if it exists I have to executes activity 1 and 2, if it doesn’t exist it has to executes directly the activity 2.
How I can do this?
So far I am here:
Thanks,
Diego
@495713 - pls try below…
path exists activity will return a Boolean variable - say isFileExists ( create a boolean variable and assign to output )
after the pathexists activity add
if activity
isFileExists ( add this in condition block )
true block add - activity 1
false block add - activity 2
Hi,
this is a possible solution, thanks!
What if I would like to use a smarted way like with “Try Catch”)
Any idea?
Thanks,
Diego
i feel - try/catch block with NoFileFound -> writing logic is practically not suggested.
good to keep exception related in catch block will be user friendly and manageable code…
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.