Hello. I am using CRM 4.0. I have registered some C# code (using the Plugin Registration Tool) to run when a user assigns a case (incident) to another user. The main fields I used when registering the plugin to ensure it executes when a case is assigned,
were the following:
Message: Assign
Primary entity: incident
I then set a break point in my code, then tried testing it by logging into CRM and assigning a case to another user. However, the code does not stop at the break point and the assignment completes. I have used the debugger with other plugin projects and
it is working fine.
public void Execute(IPluginExecutionContext context)
{
DynamicEntity entity = null; // Break-point set here
// rest of code not included to be concise
}
What could be the reason that the code is not trigged by assigning a case?