我正在尝试更新业务流程以添加新条件以跳过流程中的步骤。到目前为止,该BPF已经使用了几个月。当我尝试使用更改更新BPF时,出现此错误:
该实体不能被激活的进程删除。停用该过程,然后重试。如果您与支持人员联系,请提供技术细节。
如果在进行更改之前尝试停用BPF,则会出现相同的错误。为什么会收到此错误,我该如何解决?
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Cannot delete a workflow dependency for a published workflow definition.Detail:
<OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
<ActivityId>746d0823-0695-4152-adb4-59b03c287325</ActivityId>
<ErrorCode>-2147201018</ErrorCode>
<ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
<Message>Cannot delete a workflow dependency for a published workflow definition.</Message>
<Timestamp>2019-03-04T18:55:19.9306978Z</Timestamp?
<ExceptionRetriable>false</ExceptionRetriable>
<ExceptionSource i:nil="true" />
<InnerFault i:nil="true" />
<OriginalException i:nil="true" />
<TraceText i:nil="true" />
</OrganizationServiceFault>