Skip to main content
March 6, 2024
Solved

related record returns element when empty

  • March 6, 2024
  • 2 replies
  • 0 views

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

Best answer by harshitb6843

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
March 6, 2024

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"

March 6, 2024

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