You need to sign in to do that
Don't have an account?
sriganesh
trigger help
my case object have Time_of_first_Type_Change__c fieild
i want timestamp value in this field if the case type was first changed by a regular user (not AeroDefault)
if change the type field to another value the Time_of_first_Type_Change__c value doesnot change
please help me
thanks®ards
sai
Your requirement is not very clear.Be specific to what you want so that we can help.
1. Make sure the default value of Time_of_first_Type_Change__c is empty (blank) for the first time.
2. As soon as you enter into trigger check the type of user(not AeroDefault) and if this satisfies and if Time_of_first_Type_Change__c is empty or blank then not down the system.Today() which will give you the timestamp
3. Next time onwards as you checked if the Time_of_first_Type_Change__c blank or not which will never happen as it is updated for the first time.
Hence this will make your work done.
Hope this will clear your query.