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 already have a content type created via the UI that inherits 'Task' and added to the 'Tasks' list. as show below:

enter image description here

Via C#, How can I associate this content type id with the 'CreateTaskWithContentType' action in my workflow and create a new task item in the 'Tasks' list?

I am using VS 2012 for this development.

share|improve this question
add comment

Your Answer


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

Browse other questions tagged or ask your own question.