I am planning to write a method in a trigger when there is a mismatch of fields on Parent and Child. The trigger is written on Parent Object.

Thoughts on how do I query the data based on the above condition?

  • you could share your code whatever you have tried so far – Santanu Boral Apr 27 '17 at 17:29
  • I tried writing a method to the trigger handler class which exists already, but not sure about how I could query the data. Can anyone suggest how I could get the records based on criteria above? – user43146 Apr 30 '17 at 23:37
  • You could go through trailhead on writing trigger or handler – Santanu Boral May 1 '17 at 0:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.