1

The situation is following:

I've created plugin on RevokeAccess message in MS CRM. And in the same time I'm executing RevokeAccessRequest from another piece of code. Logically, RevokeAccess plugin fires in this case too.

Is there any approach to forbid plugins from firing in certain cases?

4

1 回答 1

3

您可以通过检查上下文深度来阻止它触发。这显示了调用的嵌套程度,即是从另一个插件调用还是直接从 CRM 调用

于 2013-06-12T15:31:33.450 回答