Hi,
In my workflow I need to copy data from a share drive and need to work on the data. The copy is going to take some time. Is there a way I can know when copy is done? Thanks a lot,
hi @A_Learner
maybe you can check after certain time if the last file exist in the copy folder, if not so you will need wait more, so if yes then your process get done
regards!
you can use retry to wait, e.g. here i use 100 retries with 1 second interval to check if file exists, if it does it will exit the retry loop
test.xaml (8.3 KB)
Thanks @jack.chan.
I am not understanding the else path, with Throw. Do I need that?
you need it,
because its in a retry loop. Meaning it will retry when there is an error.
In the else statement (file NOT exist) we throw an exception to tell the retry scope that there is an error and we need to retry.
If we do not throw an error, it will not retry.
Hi,
You can save the size of source file size in a variable.
And do check the file size of source and destination will be same.
you can check this using do while loop.
Thank you,
Debakanta Mahanta
you can try
While loop activity and Condition as True
in body, use IF activity and condition as Flag_File.Equals(False)
in then sequence use file path exists activity and use a variable for output as Flag_File
in else use break activity
Thanks! Doing the following.
While true, if file exists break of while.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.