I have created a VR on one of the fields on opportunity but I dont want that VR to get fired while converting the lead to an opportunity. This there a way to prevent this from happening as currently its getting fired on converting.
Hi, There is no standard way to skip the validation rule. But what you can do as a workaround is: Create a custom field on Lead Object with boolean(checkbox) type, say IsLead__c and default value as true. Now create a custom field on Opportunity Object with boolean(checkbox) type, say isLeadOriginated__c. Now map IsLead__c to isLeadOriginated__c from "Map Lead Fields".
Now restructure your Validation formula like this: ( Your Complete formula ) && isLeadOriginated__c=False
There is no standard way to skip the validation rule.
But what you can do as a workaround is:
Create a custom field on Lead Object with boolean(checkbox) type, say IsLead__c and default value as true.
Now create a custom field on Opportunity Object with boolean(checkbox) type, say isLeadOriginated__c.
Now map IsLead__c to isLeadOriginated__c from "Map Lead Fields".
Now restructure your Validation formula like this:
( Your Complete formula ) && isLeadOriginated__c=False