In this article, the ProductRetailDemo model is used. The goal of this article is to block the creation of a new product record if the child entity details are missing from the stepper having a child collection step in it.
In the below diagram, the Product entity is the parent of the Item entity.
Create a new validation for the Child(Items) stepper to use for the Parent(Product):
Set the Condition: any Items has(1=1)
Find out the child collection step Items in ProductStepper, go to Step Transition Validation, and in childvalidation put on step exit to Block.
Try in the UI to create a product without creating the Items details:
The validation failed here and this is the expected result: