To create a folder in the assigned task list of the workflow do following:
// get the task list for the read receipts
SPList taskList = workflowProperties.TaskList;
// create a folder with the document name
SPListItem documentFolder = taskList.Items.Add(taskList.RootFolder.ServerRelativeUrl, SPFileSystemObjectType.Folder);
documentFolder["Name"] = "new folder name";
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment