SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am facing a weird issue,

Having one programmatically created Workflow custom task list , Content type and Custom outcome site column.

Task outcome always return the taskOutcome: 0 (i.e default one)

I have tried by creating task outcome column manually which returns the result as per the expectation.

Compared the schema of both the outcome columns(one manual,second code through create) both are same.

<Field Type="OutcomeChoice" DisplayName="test outcome1" Required="FALSE" EnforceUniqueValues="FALSE" Indexed="FALSE" Group="GIMS Workflows Site Columns" ID="{c3ff4b5d-c283-4e53-a1ae-61d90a6d84ae}" SourceID="{08fc57b6-0135-4ab1-b698-9de05eebe641}" StaticName="test_x0020_outcome1" Name="test_x0020_outcome1" FillInChoice="FALSE" Version="1">
<Default>Action Implemented</Default>
  <CHOICE>Action Implemented</CHOICE>
  <CHOICE>Revise Action Plan</CHOICE>

  <Field ID="{8250e1c8-8d7f-44bb-b736-929f598756d4}" DisplayName="Implement Actions Task Outcome" Name="GIMS_ActionImplementedTaskOutcomes" Type="OutcomeChoice" Sealed="FALSE" Group="GIMS Workflows Site Columns" Description="Custom GIMS Action Implemented IP Outcome" SourceID="{08fc57b6-0135-4ab1-b698-9de05eebe641}" StaticName="GIMS_ActionImplementedTaskOutcomes" Required="FALSE" EnforceUniqueValues="FALSE" Indexed="FALSE" FillInChoice="FALSE" Version="1">
<Default>Actions Implemented</Default>
  <CHOICE>Actions Implemented</CHOICE>
  <CHOICE>Revise Action Plan</CHOICE>

Any help?

share|improve this question
up vote 0 down vote accepted

Its SharePoint bug,I have resolved it by doing trick which I have explained in my blog:

share|improve this answer

Your Answer


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.