Dear Community,
In the uploaded test file, I would like to call every patient´s name when one arrives at a kiosk, using Model.find() with the kiosk´s trigger “on entry”. From what I can see is, that the function Model.find(“patientname”) is only able to access the patients´ names, which – in the model tree – are in the same hierarchy- level as “Tools”(picture1&2). That means, if a patient is moving outside of a location / waiting line / … the name is accessible via Model.find(). But on the other hand for example, if a patient is standing in a waiting line, its tree object is not listed directly underneath “Tools”, but within the waiting line´s node: so in this case the hierarchy- level is not the same as “Tools” and results in a <no path> output in the output console.
Question: how is it possible to access a patient´s name, no matter where he / she is, especially in a more complex environment with several locations where the patient constantly switches from one location to another?
I appreciate any ideas. Best regards, NJ