how to compare objects of different entities?

0
hi,  i want to check the ingredients of the dish is available in the database or not? the ingredients are already set or fixed.
asked
2 answers
0

Oddly enough, i received the same exersise, and after i did a few courses from Mendix Academy, i still have no clue on how to complete that app. Fun times.

answered
0
  1. try to retrieve from database, then select the entity you want in your case I guess Ingrident_Master_Entity,  below that make it first in the check box. then put x path constrient.
  2. example [IngridentName = your_Object/IngridentName]
  3. this should return an object in next call a decision check if  “Ingrident_Master_Entity = empty” , if it is true your ingredient is not present in master else it is present.
answered