I have an App where the user creates an Offer for 1…n Machines. I use a Form view with a nested form to add Machines to the Offer. That works great (data is stored correctly). I have trouble creating a PDF file that contains information about the Offer and a list of all Machines in that offer.
I use a workflow that is triggered when an addition is made to the Offer table. For some reason the child elements are not evaluated correctly. When there are 2 Machines in the Offer there should be two lines in the table in the template. But I get nothing.
My template looks like this:
Offer and Machines are linked with a parent/child relation. In the Offer table I have a virutal column Machines:
Formula: REF_ROWS(“Machines”, “Parent”)
Element Type: Ref
Referenced Table Name: Machines
In the Machines table there is a column Parent which relates to the offer:
Source table: Offers (slice)
Is a part of: yes
What am I doing wrong?