MS Dynamics Error Code 2147220891
<p>Our CRM experienced an error and cannot update the record and experienced this error:
`</p>

<pre><code>Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Cannot update Closed or Cancelled ActivityDetail: 
&lt;OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts"&gt;
  &lt;ErrorCode&gt;-2147220891&lt;/ErrorCode&gt;
  &lt;ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic"&gt;
    &lt;KeyValuePairOfstringanyType&gt;
      &lt;d2p1:key&gt;OperationStatus&lt;/d2p1:key&gt;
      &lt;d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string"&gt;0&lt;/d2p1:value&gt;
    &lt;/KeyValuePairOfstringanyType&gt;
    &lt;KeyValuePairOfstringanyType&gt;
      &lt;d2p1:key&gt;SubErrorCode&lt;/d2p1:key&gt;
      &lt;d2p1:value xmlns:d4p1="http://www.w3.org/2001/XMLSchema" i:type="d4p1:string"&gt;-2146233088&lt;/d2p1:value&gt;
    &lt;/KeyValuePairOfstringanyType&gt;
  &lt;/ErrorDetails&gt;
  &lt;Message&gt;Cannot update Closed or Cancelled Activity&lt;/Message&gt;
  &lt;Timestamp&gt;2016-11-08T03:37:50.997897Z&lt;/Timestamp&gt;
  &lt;InnerFault i:nil="true" /&gt;
  &lt;TraceText&gt;

[Microsoft.Crm.ObjectModel: Microsoft.Crm.ObjectModel.SyncWorkflowExecutionPlugin]
[79b7ca55-7812-e611-8126-c4346bad26cc: ]
Starting sync workflow 'Ph2 CSF Status', Id: 6eb7ca55-7812-e611-8126-c4346bad26cc
Entering ConditionStep1_step: Automatic update of Status field in CSF
Entering SetStateStep15_step: If RM approves the CSF
Sync workflow 'Ph2 CSF Status' terminated with error 'Cannot update Closed or Cancelled Activity'

&lt;/TraceText&gt;
&lt;/OrganizationServiceFault&gt;
</code></pre>

<p>`
this happened when we try to update an existing record from in process to approved. </p>