+ Start a Discussion
chikpeachikpea 

How to get field value in trigger code

as per doc I think its - Trigger.new.fieldname__c but this is showing some junk, looks like some object string value
 
Any idea????
Ron HessRon Hess
you can assume that the new object is a bulk trigger object

so, try

Trigger.new[0].fieldname__c