I am mergin 2 images and saving in one folder and then i need to delete folder which contains those 2 images which i merged as 1.
I am using delete activity and sending path of perticukar folder to delete
but uipath thowing me error.
please check below ss.
i tried using powershell command also but not worked.
if i run as test activity i is working but while running script throwing above error
please help.
Add 5 seconds delay before delete activity
Merging of image file will take at least 5 seconds if not more. In this 5 seconds file will be in use hence you getting this error.
workflow is big and re framework and not able to share with security reason.
any other way like kill process?
and if kill process then what i need to pass in properties
can you copy paste this specific sequence in test file and upload. I will test with junk images
It would become easy for us to troubleshoot.
For now I guess image is not being released after reading hence causing this issue.
Note that I’ve had this same problem when trying to send SMTP Email with an attached file then trying to move/delete the file. There appears to be bugs in UiPath where it doesn’t let go of the files like it should.