System Activities Delete File behaviour

Hi

Did the behaviour of the Delete File activity change when no file is found, with the resent updates?
Im not sure but did the activity use to throw an exception if no file was found?
It does now..

Regards
Soren

as far as i remember on earlier versions, delete file skips delete, if the file isn’t found.
just tried the same using System Activities 25.12.x package and it skips..
may be from 26.x, its been updated to throw an Exception.

SG.

Remember there are two similar activities that act slightly differently:

I recall that one failed upon not being present and the other didn’t

Will give it another test with latest UiPath version.

Thanks for the update.

ah.. yes…
the one which uses ILocalRes object throws null ref exception if the file isnt found..
Thanks.

SG.

So I decided to run a test, and I can confirm that the behaviour has changed.

Regards
Soren

Thanks for letting us know!