+ Start a Discussion

Cancel the Lead INSERT

I want to cancel the Lead INSERT event in case there is another Lead from the same source(e.g. with same e-mail address) and update the old Lead with the required information. In other words I want to create a new Lead only in case there is not existing one in the system from the same source.

I tried with the combinations of update, insert triggers but got  errors. Is there a functionality of Instead of Trigger in salesforce?

Any suggestions will be appreciated.

Jerry HongJerry Hong

you can just use trigger with some logic of restriction