+ Start a Discussion
Jacek DJacek D 

Trying to build a trigger that fires workflow on child object

I want a workflow rule to be fired if the parent or grandparent changes. Sadly my knowledge of Apex code is limited.

 

I was wondering if anyone already thought up a trigger for this and can help me with the basic structure?

 

That would be great,

 

Thanks!

Shashikant SharmaShashikant Sharma

You have to write seperaye trigger for this on parent and grandparent , if the business logic is same you can have a same method in a class and use it instead of writitng same code twice.