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

Upsert Request not finding alternate keys, always creating!

$
0
0

Hi,

I have a plugin who upserts an entity wich has two attributes as a key. These keys are defined through a workflow because they are strings copied from 2 lookup values. The problem is that the UpsertRequest doesn't find the entity (when it is already created) and is always creating a new one, which causes the workflow to fire and throws an error since the keys already exist..

If on the entity I just send the keys and try to update another field, it will create a new empty entity with that field updated!


Viewing all articles
Browse latest Browse all 46379

Trending Articles