+ Start a Discussion
chanti kchanti k 

How to capture or tracking field changes using trigger ?

HI All,

1 ) I have 4 fields 1)Firstname 2)lastname 3) type is picklist(Value of picklist) 4 ) DATE on Opportunity object
2)  Firstname +lastname +type +DATE

My reuirement is i want track the information who ever changes those fields, How we can achive this?

Regards,
Chanti
mukesh guptamukesh gupta
Hi Chanti,

Each field have column name "Modified By" .  this column will contain user information , who is modified fields

User-added image
Please check .

Regards
Mukesh

 
 
GauravGargGauravGarg
Hi Chanti,

You want to track last modified info for all these fields separately or combined. 
  • Separate approach:
    • Create 4 new fields for tracking each field. 
    • Create 4 workflow rules for each field. 
    • Update last modified info in this field. 
  • Combined:
    • Create 1 field for tracking. 
    • Create 1 workflow including condition for all these fields. 
    • Update last modified info. 

Thanks,

Gaurav
Skype: gaurav62990