Hi All,
I am getting the below error even though I have de activated the work flow.
I have restated the IIS and also the services, changed the real time to background and then also I am getting the error on syn work flow.
Please help me in resolving this case.
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Cannot find record to be updatedDetail:
<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>Cannot find record to be updated</Message>
<Timestamp>2015-11-13T14:04:02.2107072Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText>
[Microsoft.Crm.ObjectModel: Microsoft.Crm.ObjectModel.SyncWorkflowExecutionPlugin]
[cc146258-9b86-e511-80bb-64006a0cfe3c: ]
Starting sync workflow 'AutoNumberSTMSContract', Id: c4146258-9b86-e511-80bb-64006a0cfe3c
Entering UpdateStep1_step:
Entering UpdateStep2_step:
Entering UpdateStep3_step:
Sync workflow 'AutoNumberSTMSContract' terminated with error 'Cannot find record to be updated'
</TraceText>
</OrganizationServiceFault>