Hi, I tried to delete a recurring bulk delete system job but it generated an error, I tried with canceled, paused bulk delete but it generated the same error message
Any idea how to fix it?
Envelope xmlns:s="schemas.xmlsoap.org/.../envelope"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring xml:lang="en-US">Cannot delete async operation unless it is in Completed state.</faultstring><detail><OrganizationServiceFault xmlns="schemas.microsoft.com/.../Contracts" xmlns:i="www.w3.org/.../XMLSchema-instance"><ActivityId>ca4e5249-7e32-47d4-a0ec-71412c90d465</ActivityId><ErrorCode>-2147204758</ErrorCode><ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic"><KeyValuePairOfstringanyType><a:key>ApiExceptionSourceKey</a:key><a:value i:type="b:string" xmlns:b="www.w3.org/.../XMLSchema">Plugin/Microsoft.Crm.ObjectModel.AsyncOperationService</a:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><a:key>ApiOriginalExceptionKey</a:key><a:value i:type="b:string" xmlns:b="www.w3.org/.../XMLSchema">Microsoft.Crm.CrmException: Cannot delete async operation unless it is in Completed state. ---> Microsoft.Crm.CrmException: Cannot delete async operation unless it is in Completed state.
at Microsoft.Crm.ObjectModel.AsyncOperationServiceInternal`1.Delete(BusinessEntityMoniker moniker, ExecutionContext context)
--- End of inner exception stack trace ---
at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
at Microsoft.Crm.Extensibility.PipelineInstrumentationHelper.Execute(Boolean instrumentationEnabled, String stopwatchName, ExecuteWithInstrumentation action, PipelineExecutionContext context)
at Microsoft.Crm.Extensibility.Pipeline.<>c__DisplayClass2_1.<Execute>b__0()</a:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><a:key>ApiStepKey</a:key><a:value i:type="b:guid" xmlns:b="schemas.microsoft.com/.../Serialization">08435f97-02c8-11dc-9d6a-0019bbe16f50</a:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><a:key>ApiDepthKey</a:key><a:value i:type="b:int" xmlns:b="www.w3.org/.../XMLSchema">1</a:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><a:key>ApiActivityIdKey</a:key><a:value i:type="b:guid" xmlns:b="schemas.microsoft.com/.../Serialization">ca4e5249-7e32-47d4-a0ec-71412c90d465</a:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><a:key>ApiPluginSolutionNameKey</a:key><a:value i:type="b:string" xmlns:b="www.w3.org/.../XMLSchema">System</a:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><a:key>ApiStepSolutionNameKey</a:key><a:value i:type="b:string" xmlns:b="www.w3.org/.../XMLSchema">System</a:value></KeyValuePairOfstringanyType></ErrorDetails><Message>Cannot delete async operation unless it is in Completed state.</Message><Timestamp>2018-09-25T17:35:08.952651Z</Timestamp><ExceptionRetriable>false</ExceptionRetriable><ExceptionSource i:nil="true"/><InnerFault><ActivityId>ca4e5249-7e32-47d4-a0ec-71412c90d465</ActivityId><ErrorCode>-2147204758</ErrorCode><ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic"/><Message>Cannot delete async operation unless it is in Completed state.</Message><Timestamp>2018-09-25T17:35:08.952651Z</Timestamp><ExceptionRetriable>false</ExceptionRetriable><ExceptionSource i:nil="true"/><InnerFault i:nil="true"/><OriginalException i:nil="true"/><TraceText i:nil="true"/></InnerFault><OriginalException i:nil="true"/><TraceText i:nil="true"/></OrganizationServiceFault></detail></s:Fault></s:Body></s:Envelope>
*This post is locked for comments