Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I want to read all the Outcomes from a Workflow Task Outcomes (not only the standard but also the customized outcomes) from a Sharepoint 2010 Workflow Task.

I searched all over the internet but didn't find anything that can help. If you know something (only if it is theoretically or an idea) please answer!

Thanks

share|improve this question
add comment

1 Answer

In my application i need to do something similar. I have a custom Task List with custom fields and associate the Workflow with this Task List.

Now Inside my workflow code when the Task Completes it triggers my task1CompleteInkove method and inside there i have a reference to a property of type SPWorkflowTaskProperties and access my custom fields as so

private Guid CustomCommentsColumnGuidId = new Guid("5AE36B4C-3996-4C25-A13B-FF22A7557773");
string taskcomments = wftp.ExtendedProperties[CustomCommentsColumnGuidId].ToString();

CustomCommentsColumnGuidId is a private GUID field set to the GUID of my custom field in my custom Task List.

Hope this helps.

share|improve this answer
    
I will try your code, thanks. I keep you updated. –  Diogo Fernandes Jun 10 '13 at 9:21
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.