function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Geetha BGeetha B 

workflow on opportunity when it is a converted lead

hi
  
      I need to write a workflow on opportunity to update close date if the opportunity is created when the lead is converted.
      I am unable to give rule criteria check wether the opportunity is a converted lead or not.
      Based on which field i need to check
SonamSonam (Salesforce Developers) 
Don't think there a field which can differentiate a lead converted opp with a manually created opp.

What you can do is:
create a custom field on lead and give a default value as lead converted.
Create a custom field on opportunity as well and map this field to the opportunity custom field such that at the time of conversion, the value gets copied over and you can identify such opportunities using this field.