You need to sign in to do that
Don't have an account?
Sarita Patel
Trigger to copy formula field changed value to another custom field.
Object: Lead
Formula feild: Lead_Age__c
Custom feild: Lead_Age2__c
I wrote some triggers but somehow they are not working... thank you in advance
Formula feild: Lead_Age__c
Custom feild: Lead_Age2__c
I wrote some triggers but somehow they are not working... thank you in advance
What is your use case for this trigger?
Hello Sarita,
You can do it with workflow in condition you can give ISCHANGED(Lead_Age2__c) in formula evaluate to true.
Or in your trigger you can use before update or after update
and check if trigger.oldmap and trigger.newmap holds the same value or different.
If its different you can copy the value to different fields.
yes, that's why I need to copy formula field value to Lead_Age2__c as formula field is not supported with ISCHANGED function.