The problem that I am having is that I am using addError method in before insert trigger which actually rollback every DML I make including @future method calls, sending email, queueing batch jobs, or performing any DML. What I would like to know is how to stop the process of converting Lead to Account and at the same time dispaly message in the convert page as well as to set and update a custom Lead status field to 'Existing Deal'.
To be more precise what I need to acheve: 1. Stop the process of converting Lead to Account. 2. Display message in the convert Lead to Account page that the respective Lead is not converted. 3. Set and Update the Lead.Status__c field to 'Existing Deal'.
Apparently this can't be achieved by using the addError method and I will strongly appreciate if you can advise how to proceed and find a solution to this issue?