I have 2 custom objects with master-detail relationship:
custom_object__1(parent)
custom_object__2(child)
I have an after update trigger on the Custom_Object__1(parent) and also I have the if condition where the fields are set as criteria based on which the trigger.new is fired now I need to need to include the record type of the child object also on the filter type any approach on how to do this?
Best Answer
Code of this sort will allow you to use the developer name of the record type in your logic: