+ Start a Discussion

Automatic update of Record

Hey Guys,


Here is the scenario.:


I have a record created in Custom Object with four fields say T1 ,T2,T3 & T4

now there is another record which gets created(Automatically) on some operation in same Custom Object.


What i want is that IF say second record has same value for Field T1 and T2 ,



In first Record T3 (Boolean Field) should be Checked and

In Second Record T4(Boolean Field) should be Checked


Can it be done Using validation Rule or Using Trigger.


Help Me with code






It seems it can be done with the Trigger. You have to put the trigger on "After insert." but need to create some condition to break the self loop.

Can somebody help me with Code Snippet