Skip to main content
New Participant
Mar 6, 2024 10:53 AM UTC
Solved

related record returns element when empty

Hi,

If a relation does not meet the conditions for getting data, should the output return empty? Example..

The database query returns empty

The queryRecordType returns a value

This is correct?
How can I get an empty value, like in a database?

This is a modification of lesson 4 exercise 2, in the associate course certificate. (If I don´t write the "fields: AA Vehicle.maintenance.cost", the output is the same, removing maintenance list)

Thanks for the help

harshitb6843
Brainy
Mar 6, 2024 10:56 AM UTC

You will have to pass the maintenance cost filter along with the vehicle id filter in the same logical expression, with the operator set as "AND_ALL"

2 replies

harshitb6843
Brainy
Mar 6, 2024 10:56 AM UTC

You will have to pass the maintenance cost filter along with the vehicle id filter in the same logical expression, with the operator set as "AND_ALL"

New Participant
Mar 6, 2024 11:18 AM UTC

That was!
The condition needed to be added to the filters. Thank you!