Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 79901

Record Created in Multiple Instances of Plugin

$
0
0

Hello, I've a plugin which triggered when create a record of custom entity. The plugin will check some value of the record against Account record. if it can't find the Account record for some value in the custom record, it will create the Account record. The custom entity records are inserted into CRM by Informatica Services. When the services enter the custom record with same info, the plugin can't find the Account record which just created. So Account entity end up with lot of duplicate Account records. How can I check if the Account record already created in CRM by one plugin instance from another instance of the plugin. When one instance of plugin already inserted the Account record, another instance of the plugin can't see the record already created. So it insert the record again. If I manually create the custom entity record, then it can find the record. but if I import the custom entity record or use Informatica or Scribe services, it does not work. The plugin is running in asynchronously, I can't use the plugin as synchronous because it cause problem for the Informatica services.

thanks


Viewing all articles
Browse latest Browse all 79901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>