I am completing the exercises in the PDF part 9 of the Acme Auto application, and the relationship between AX Vehicles and AA Vehicle Category is set up correctly. There is relationship set up of many AA Vehicle Category to one AX Vehicles. I am able to write a query expression that fetches the records from AX Vehicles, and when I test it, I correctly get the record referenced from toCategoryRecord. I can see the category name in the results. The AX Vehicles record has a category ID of 5, which exists in the AA Vehicle Category records (Convertible).
And exactly as the PDF says, for the "Category" field of the interface, in "Display Value", I am entering exactly what the PDF says to put:
a!defaultValue( ri!vehicle[recordType!AX Vehicle.relationships.toCategoryRecord.fields.value], "–")
But this relationship from an expression always returns null instead of "Convertible" as doing a query with the relationship does.
I am completely and utterly stuck. As far as I can tell, I have followed all of the directions correctly from PDFs part 1 to 8.
I am in dire need of help here to get unstuck. Any ideas of what the problem could be?
Discussion posts and replies are publicly visible
The PDF is a bit incorrect. With the default test data, the relationships are not queried, though that step shows them working even though it will not work later until the test value is changed to rule!AX_QR_GetVehicleById(vehicleId: 1).
Thanks for solution!
PDF manual does not order correctly.
As time I commented, PDF describe to change test value after define Display Value.
© 2024 Appian. All rights reserved.