Roll up Child Object Conditionals
How to sum child object booleans to use for conditional logic
Last updated
Was this helpful?
How to sum child object booleans to use for conditional logic
Last updated
Was this helpful?
Number - Status Boolean
We add two conditional rules to each Number field to turn them functionally into Boolean fields. If the child status is that specific status, we set the field value to 1, otherwise it remains 0.
Sum - Sum Child Object Status
We choose the corresponding child field to sum
Now that we have these Number and Sum fields setup, we can use them for any logic rules in the app such as page rules, display rules, etc.
For the above example, when Scope Submission is Approved (greater than 0) we have a page rule that hides a trigger button view so that a customer can no longer submit any more scope submissions.