Announcements
Hello!
I have developed a plugin for Opportunity entity. Plugin registered with Sync execution, not in sandbox and executed post-operation.
Plugin create custom entity in loop (typicaly 2-3 entities)
Guid newGuid = Guid.Empty; for (var i = 0; i < n; i ) { new_inboxreplication inbox = new new_inboxreplication(); inbox.new_messagerecid = inboxMessage.fileId; ... newGuid = service.Create(inbox); outLog.AppendLine("Created inbox guid: " newGuid.ToString()); }
In outLog variable i see message about returned guid from Create operation
Created inbox guid: 66548a73-53c7-ec11-917c-00155d58d690
But next step is load this entity from another place, CRM throw exception new_inboxreplication With Id = 66548a73-53c7-ec11-917c-00155d58d690
Same exception is when i make request via REST Builder, looked like entity does not created...
Why this can happen?
Hello Actimele,
Can you please attach the error content as well as the code. Because That will be more helpful.
There may be many reasons for this issue.
Thank you,
Amit Katariya
André Arnaud de Cal... 291,359 Super User 2024 Season 2
Martin Dráb 230,370 Most Valuable Professional
nmaenpaa 101,156