在删除一个查找字段时报如上的错误,报错图如下

Dynamics CRM the field cannot be deleted because it is used in one or more process的解决方法

   第一想到的是这个字段在哪个流程里用了,去流程里找遍了发现没有哪个流程用到它,然后去打开系统trace日志,寄希望于有更详细的日志,结果又提示workflow,然后我们再去workflow找了一遍,还是没有

Dynamics CRM the field cannot be deleted because it is used in one or more process的解决方法

    最后我在业务规则里找到了一个熟悉的名字,结合我在之前删1:N关系时报的denpentdent components detected中的依赖的名字,终于找到了。

Dynamics CRM the field cannot be deleted because it is used in one or more process的解决方法

Dynamics CRM the field cannot be deleted because it is used in one or more process的解决方法

     所以下次当你遇到类似的问题时,千万别忽略了业务规则,虽然错误提示不是很明显,但我们也要往那个方向想想。

 

相关文章: