简体   繁体   English

从Dynamics CRM 2011更新外部系统

[英]Update External Systems from Dynamics CRM 2011

a bit new to Dynamics CRM and trying to find the best way to update external systems in real time when specific entities are created or updated in Dynamics CRM 4.0 or 2011. What I've gathered thus far is that my best option is to Dynamics CRM的一些新知识,并试图找到在Dynamics CRM 4.0或2011中创建或更新特定实体时实时更新外部系统的最佳方法。到目前为止,我所收集的是我最好的选择是

  1. Write a web service for the downstream LOB system. 为下游LOB系统编写Web服务。
  2. Write a custom workflow activity that calls the web service and register the plugin inside CRM. 编写一个自定义的工作流活动,该活动将调用Web服务并在CRM中注册插件。
  3. Attach the custom workflow activity to a record created / updated trigger on the underlying entity that I want to receive updates for. 将自定义工作流程活动附加到我要接收更新的基础实体上的记录创建/更新触发器。

Am I on the right track or is there a better alternative? 我是在正确的轨道上还是有更好的选择?

What you have seems a pretty sound design and is probably the way I would approach it. 您所拥有的似乎是一个不错的设计,并且可能是我采用的设计方式。

If you need synchronous behaviour (not sure how real time your real time is here) you might want to consider plugins (different from custom workflow activities) as these can be registered to run synchronously. 如果您需要同步行为(不确定此处的实时时间),则可能要考虑插件(与自定义工作流程活动不同),因为这些插件可以注册为同步运行。

Other than that you could have your downstream system read the records from CRM on a frequent, scheduled basis - you can use the modifiedon field to see which records have changed since the last read. 除此之外,您还可以让下游系统定期地,定期地从CRM中读取记录-您可以使用Modifyon字段查看自上次读取以来哪些记录已更改。

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

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