I am on TS6.5 SP2 on win 2000. I am trying to use an CLT in one of my tasks for deleting a file . I would say a user will submit a deleted DCR through a deletion workflow. I want the workflow to delete the files which are related to that DCR, i can get all the files associated with a particular DCR in a file, how can i delete those files in that task??Lets assume that we are successful in deleting the files, will the file be deleted from the workarea??Please advice.Thanks
Thank you For quick response.I am aware of what you have mentioned. Sorry i guess i have not framed my question right.I am doing this same process for Content Deployment, you know like a simple workflow which generates a html file based on the DCR name and attachesit to the workflow and submits it to target. This whole process of content submission.Now i want to delete the content which i have submitted, so its like i have to delete the files submit the deletion though out.But here is the think, the end user will delete only one file from the Workarea ( Either DCR or the Generated html). So he submits the file which he has deleted using delete workflow, i can some how use a script which will attach a file associated with that DCR or html. So if i delete the file at this point inside an external task of the workflow, how would the Delesion of this file refelected in the Workarea?And my main concern is what CLT should i use to delete the file, should i use just `rm filename` ?Please adviceThanks
$task->AddFile(area-relative-path, "comment");
unlink(list-of-file-system-paths);
submittask