Ellen
(Ellen )
December 4, 2023, 10:47am
1
I wanted that when robot start it create a new folder of current date and then move the old files .form an Input folder to that new created folder. So that when user has to download new files It get an empty folder.
I’m getting issue that I can not write the output of folder name into MovieFile activity.
I read this artical. .
My Condition is:
I have created a folder in a workflow_1 using create folder Activity.
I passed the output folder from this activity -which is an ILocalResource type- as an Out argument.
Inworkflow_2 I have defined an IN Argument of an ILocalResource Type.
When I try to use this argument fullName property in workflow_2 it tells me that ‘UiPath.Platform.ResourceHhandling.ILocalResourse’ Is not defined.
Can someone explain what I’m missing?
TY
[image]
which says I need to add full file path… but how can i add full path when i don’t know the folder of date (as it changes) im gona get next???
PLUS
I tried like this as well…
and it gives med this error… that it can not move file as it already exist… but the new folder is empty.
Hi @Ellen ,
Thanks for reaching out.
If you are getting a file that already exists you can use the checkbox to overwrite the existing file.
Regards,
@Vinit_Kawle
1 Like
Hi @Ellen ,
Can you try giving input of ‘varMoveFiles’ in Move Files at ‘Destination resource’ as below
Instead of giving it To
Hope it works.
Happy Automation,
@Vinit_Kawle
2 Likes
rikulsilva
(Henrique Lima da Silva)
December 4, 2023, 12:04pm
4
Hi @Ellen
in To Field is expected folder path, in first picture you pass FileSystemLocalItem and in the second you pass a Text
Change To Field to use this expression. LocalPath return the full path for the created folder
varMoveFiles.LocalPath
2 Likes
Ellen
(Ellen )
December 4, 2023, 12:44pm
5
Your solutions worked and I also tried @Vinit_Kawle solution. Both worked. So thanks for the big help.
cheers.
1 Like
system
(system)
Closed
December 7, 2023, 12:45pm
6
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.