Hi Experts,
I have a plugin on qualify of lead entity.
I need to get the opportunity created on lead qualify. I'm using the below code to get it.
foreach (EntityReference created in (IEnumerable<object>)context.OutputParameters["CreatedEntities"]) { if (created.LogicalName == "opportunity") { // logic } }
But, the "Context.OutParameters" doesn't have "CreatedEntities", its coming as null.
Any help is much appreciated.
*This post is locked for comments