I'm having at a loss here though I believe I might just be missing something about the behavior of Validation Rules.
So the situation is like this:
1 - I have 4 Custom Objects (ObjA, ObjBLineItem, ObjC, ObjD).
ObjA has Master-Detail Relationship with ObjBLineItem ObjBLineItem has Master-Detail Relationship with ObjC ObjC has a Lookup relationship with ObjD
ObjA -MD-> ObjBLineItem -MD-> ObjC -LU-> ObjD
2 - I've created a Process Flow in ObjA that will set a Flag in ObjD to True if conditions are met when ObjA is edited.
This Flag will be used by ObjC
3 - I've created a Validation Rule that will check if Flag is True or False. If True, then ObjC cannot be edited. IF False, then ObjC can be edited.
When the Process Flow in ObjA is fired, I somehow get the error of the Validation Rule.
I'm confused because during the run of the Process Flow, ObjC was not edited or even touched at all so why did the Validation Rule fire?
I initially thought that a Trigger in ObjA must be updating ObjC but I can't find any triggers at all.
Any help will be very much appreciated.