In Dynamics CRM 2015 if I create on-demand workflow and try to change Phonecall state to Open I'm getting an error: "Cannot update Closed or Cancelled Activity."
Error details:
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #6D5B8ADCDetail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ErrorCode>-2147220970</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #6D5B8ADC</Message>
<Timestamp>2018-03-21T07:30:27.2109717Z</Timestamp>
<InnerFault>
<ErrorCode>-2147220891</ErrorCode>
<ErrorDetails xmlns:d3p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>Cannot update Closed or Cancelled Activity</Message>
<Timestamp>2018-03-21T07:30:27.2109717Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText>
[Microsoft.Crm.ObjectModel: Microsoft.Crm.Extensibility.InternalOperationPlugin]
[46f6cf4c-14ae-4f1e-98a1-eae99a37e95c: ExecuteWorkflowWithInputArguments]
Starting sync workflow 'Включить звонок', Id: cc33502d-d92c-e811-80d1-b4b52f65ba1c
Entering SetStateStep2_step: Включить звонок
Sync workflow 'Включить звонок' terminated with error 'Cannot update Closed or Cancelled Activity'
</TraceText>
</InnerFault>
<TraceText i:nil="true" />
</OrganizationServiceFault>