Delete activity - File - ILocalResource field

Hello,

In new Delete File/Folder activity, we have new field, File which expects ILocalResource type input.

Can anyone please give example or guide on what exactly should be given as input in this field?

@Shubham_Tiwari

You can use path exists activity which would give the output of type ilocalresource and that can be used as input for this activity

Reference to path exists is the output parameter where you can get this output in path exists

Cheers

also check the used version of UiPath.System.Activities and maybe upgrade. In newer versions it came back and supports the filepath again

Hey,
Thanks for your reply. As much as I remember Path exists activity gives boolean output.
Is there any update regarding output type of Path exists activity too?
If yes, can I have the package version please.

Thanks for the inputs. Sure will check and maybe it will help.

@Shubham_Tiwari

Path Exists will give you two outputs…one for boolean other for ILocalResource…from the time the new delete activity is introduced this has been there… It was done keeping in mind the studio web where local paths are not used

cheers

Understood, well thanks for this. Will check and update.

1 Like

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