Quantcast
Channel: msdyncrmWorkflowTools Discussions Rss Feed
Viewing all articles
Browse latest Browse all 156

New Post: Associate Entity - handling duplicates

$
0
0
Hi, downloaded and tested today. Unfortunately I still see the "Cannot Insert Duplicate Key" error on the Associate activity, so wanted to let you know as you said it would ignore it.
However, by adding the new Check Association activity to a condition I am now only running the Associate if it evaluates false so I'm able to bypass the error with a slight mod to my workflow :-)
Thanks!

Plugin Trace:

[msdyncrmWorkflowTools: msdyncrmWorkflowTools.AssociateEntity]
[msdyncrmWorkflowTools (1.0.34.0): Associate Entity]
Load CRM Service from context --- OK
ParentObjectTypeCode=10177--ParentId=81fb2c89-cedf-e511-80d3-00155dc86ae0


Error Message:

Unhandled Exception: Microsoft.Crm.CrmException: Cannot insert duplicate key.
at Microsoft.Crm.Sandbox.SandboxCodeUnit.Execute(IExecutionContext context)
at Microsoft.Crm.Workflow.Services.ProxyCustomActivity.Execute(CodeActivityContext executionContext)

Viewing all articles
Browse latest Browse all 156

Latest Images

Trending Articles



Latest Images

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