Personalized Community is here!
Quickly customize your community to find the content you seek.
Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2021 Release Wave 1Discover the latest updates and new features to Dynamics 365 planned April 2021 through September 2021.
Release overview guides and videos Release Plan | Preview 2021 Release Wave 1 Timeline
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
I have a Plugin on the create event of an entity, that delete records from a Field If another record has the same date (count = 1). When i start debugging the plugin is working and delete the duplicate record. Without debugging the plugin does not see duplicate record (count = 0) and does not execute anything.
I enabled tracing and checked system jobs and no errors appeared.
CRM Version: Dynamics 365 V9.1 Online
Check plugin execution event.. it might be you are executing plugin on Pre-event or pre-validation event.. change it to post event and try..
The plugin execution event is PostOperation and still not working!
is there any error logs in Plugin trace?
No, There is no error appeared in Plugin Trace log.
I think.. last option to try is remove / un-register plugin and register plugin again.
I also faced same issue, so put tracing in the plugin and check for status change. When you are debugging then status of record can change and you will get correct result. While tracing you will get exact status. In my scenario plugin was in completed status on post create through Five 9 and while debugging. But while actual tracing it was in open state.
Duplicate record counting condition is not working.
You can use preimage for your entity. Query on preimage data according to newly created data.
If you find any record delete the record.
Business Applications communities