function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SubhamSubham 

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 ,

then

 

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

 

Thanks,

 

16

amidstcloudamidstcloud

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.

SubhamSubham
Can somebody help me with Code Snippet