You need to sign in to do that
Don't have an account?
Jack Volkov
Why is a task trigger getting fired upon lead conversion?
When attempting to convert a lead, that has related tasks assigned to an inactive owner, a task trigger is being fired. This then throws the following error:
System.DmlException: Insert failed. First exception on row 0; first error: INACTIVE_OWNER_OR_USER, operation performed with inactive user: []What is causing the task trigger to fire? How can this be prevented?
As the Lead you want to convert have associated Tasks, that's why these also gets updated while converting and attach with the newly created Account and Opportunity. This runs the task trigger.
To resolve this issue, you need to change the Assignee on Task with the Active users.
Let me know if you need any other help.
Thanks,
Neetu
How can we do something similar for a manual lead conversion? How can a method be called automatically if a lead is getting manually converted?