I’m triggering api and output is Response attachment variable type of ILocalResource. This api response automation downloaded pdf file temp location. I’m able to see. ILocalResource type variable is varAttach. Move file activity from is varAttach.ToString To is my local folder. varattach.tostring is return value is UiPath.ilocalresourceitem but I’m expecting that full file temp location path.
Hello @AJITH_SK,
You need to access the Path property of the ILocalResource object, not call ToString.
- If your variable is
varAttach(of typeILocalResource), then the file path is typically:
varAttach.Path
- So your Move File activity should be:
a. From: varAttach.Path
b. To: "C:\YourLocalFolder\FileName.pdf"
try
varattach.LocalPath and receive the full file path
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
