I’m currently doing the GetFiles after the SaveMailAttachment activity, but I’m getting a file not found error.
I’m not sure what caused it, but I suspect that when saving the attachment, GetFiles was performed when the file DL was not finished.
So, if you want to make a wait time between SaveMailAttachment activity and GetFiles, please let me know how many seconds is appropriate.
If so, please let me know why.
Thank you in advance.
Hello
I have a suggestion.
Could you try something like this:
- Get files.
- Check for file not found error OR check filecount.
- If error message exists OR filecount = 0. Then delay for for 1 minute.
- Retry.
You could accomplish using a Try Catch activity, an IF statement or two, or retry scope.
Hopefully this helps.
Hi
This can be handled with wait for download activity
Where place all the activities that downloads
And mention the folder path where it is getting downloaded
This activity will automatically manage the wait time
Then you will be able to access it without any error
Hope this would help you resolve this
Cheers @Kirigirisu_Coin
1 Like
Thank you very much.
Originally, I was trying to do this after checking the existence of the file.
- If I check the existence of the file while saving, it will be TRUE.
- If something goes wrong, it will keep working.
So, I am very grateful for your introduction of this activity. Thank you very much.
1 Like
system
(system)
Closed
5
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.