Hemanth Goud

Hemanth Goud

  • NA
  • 20
  • 644

CRM Workflow Process doesn't trigger on record creation

Jun 10 2019 9:21 AM
CRM Workflow Process doesn't trigger on record created through Entity Framework
 
In Microsoft Dynamic CRM, I have a workflow process when a record is created.
 
When I create a new record using Entity Framework(EF), the workflow is not triggered. But it triggers fine when I create a record using Organization Service Proxy.
 
Below is my code to create a new record using EF.
 
Entity e = db.Entity.Create();
// ...... //
e.Entity.Add(e);
e.SaveChanges();
 
Above code works fine and it creates a new record. But it doesn't trigger the Workflow Process.
 
What could be the solution in this scenario? 

Answers (1)