Skip to main content

Good evening,

 

We have one flow that automatically updates the stage of a parent object A to 'Count Completed', whenever all the related children in object B are not excluded/cancelled and reach the stage 'Count Sent'.

 

To prevent users from manually changing the status on the parent object we set a checkbox 'BypassValidation' to false, and create a validation rule using Not(BypassValidation).

 

I have been trying to set BypassValidation to true in the flow previously mentioned, having tried both on the Assign Element and the Update element but the validation rule is still triggered, which prevents both the child record that triggered the flow to be updated and to change the status on the parent object.

 

I am not sure if the issue is trying to update both elements, BypassValidation and the Parent object status, in the same flow, since (if my understanding is correct) the Validation Rules will be evaluated before than the processes.

 

Could anybody give me a hand on this one???

 

Many thanks in advance.

 

#Automation

4 answers
0/9000