Page 1 of 1

DeleteWorkspace doesn't delete the folder

Posted: Thu Nov 12, 2015 6:40 pm
by jstanley
I've noticed that DeleteWorkspace is not deleting the folder, but it is deleting the contents. Is this by some off chance by design? If so what are the alternatives so I don't end up with a wealth of empty folders?



I'm on running MFT 5.1.2 on a Windows Server 2008 r2.



Thanks!

Re: DeleteWorkspace doesn't delete the folder

Posted: Fri Nov 13, 2015 5:48 pm
by Support_Rick
I just tried to recreate that here and can't make that happen.

Can you send in your Project XML & JobLog from creating this workspace, processing, deleting the workspace and a snapshot of the Workspace before and after that include the job you ran?

Also, what user is running the GAMFT Service? Does it have full authority to files/folders locally?

Please advise...

Re: DeleteWorkspace doesn't delete the folder

Posted: Fri Nov 13, 2015 10:54 pm
by jstanley
Hi Rick,

So your response prompted me to create a test project and document the steps to reproduce this behavior. Something I should have done from the beginning....

With that, I discovered that I cannot duplicate this either. I had a scoping issue with the delete workspace task in a project template that we created.There was an if condition that when true, it exited the project before the delete workspace task fired.


Thanks for the help and in the future I will test thoroughly before posting!

-Justin