简体   繁体   English

Dynamics 365 - 为“审计”实体注册“创建”步骤

[英]Dynamics 365 - Register a 'Create' step for 'audit' entity

Does anyone know,有人知道吗,
Is there any way to catch, in Plugin Registration, step of Create Audit History(audit) record event ?有没有办法在插件注册中捕获创建审计历史(审计)记录事件的步骤?

It is enabled in Dynamics, but I need to perform some actions after the Audit record has been created.它在 Dynamics 中启用,但我需要在创建审核记录后执行一些操作。

Hmmm... The Audit entity prohibits registering steps against its Create message.嗯...审计实体禁止针对其创建消息注册步骤。 Considering that Audit is a specialized entity that stores data in a denormalized way, this kind of makes sense.考虑到审计是一个以非规范化方式存储数据的专门实体,这种是有道理的。

What are you looking to do with the Audit record?您希望如何处理审计记录? If you're looking to do anything with the data that changed on the record, you can do that with a pre-image and post-image.如果您想对记录中更改的数据做任何事情,您可以使用前映像和后映像来实现。

Otherwise, a plugin running asynchronously on the create and update messages of all the audited entities should be able to access the audit record that just got created.否则,在所有被审计实体的创建和更新消息上异步运行的插件应该能够访问刚刚创建的审计记录。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM