Hi
I have a solution for complaint management and I set a workflow to change Status Reason Field when I click on tracking complaint.
But it can't be work complete. I set Edit Status Reason Transitions for Status Reason Field and when I disable it, Worked!
I get this error:
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364ee35]]: Entity: new_mysolution does not have valid status codeDetail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ErrorCode>-2147220891</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic">
<KeyValuePairOfstringanyType>
<d2p1:key>OperationStatus</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">0</d2p1:value>
</KeyValuePairOfstringanyType>
<KeyValuePairOfstringanyType>
<d2p1:key>SubErrorCode</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string">-2146233088</d2p1:value>
</KeyValuePairOfstringanyType>
</ErrorDetails>
<Message>Entity: new_mysolution does not have valid status code</Message>
<Timestamp>2016-09-13T03:37:58.0295057Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText>
[Microsoft.Crm.ObjectModel: Microsoft.Crm.ObjectModel.SyncWorkflowExecutionPlugin]
[150acd10-3974-f611-80cf-000c299c451b: ]
Starting sync workflow 'Send Email', Id: ff09cd10-3974-f611-80cf-000c299c451b
Entering ConditionStep3_step: Check to exist Title
Entering UpdateStep5_step:
Entering ConditionBranchStep4_step:
Entering SetStateStep2_step: Change Status to In Progress
Sync workflow 'Send Email' terminated with error 'Entity: new_mysolution does not have valid status code'
</TraceText>
</OrganizationServiceFault>