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
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.
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.
Using System.Activities 26.2.4 it does not fail if the file is not there:
Using System.Activities 26.6.0 it does fail:
Regards
Soren
Thanks for letting us know!