HI all,
I am struggling with a weird problem. I am trying to retrieve a date from my entity list with the following calculation:
instance('monitoring_trees')/root/item[name=${site_selection_monitoring}]/planting_date
The planting date has this format in my entity list: 2021-11-23
For some reason, the variable (name) remains empty. This is strange because I can retrieve other items from this entity list without issues (for example tree species or contract number). So this works:
instance('monitoring_trees')/root/item[name=${site_selection_monitoring}]/contract_number
But this not:
instance('monitoring_trees')/root/item[name=${site_selection_monitoring}]/planting_date
Any idea what can be the reason? Is the formatting an issue? As far as I know, all is text in the entity list. The strange thing is that it worked in the past, but not anymore. I also checked the entity list to see if the issue can be found there. But nothing found. Maybe someone can clarify this issue or provide a workaround for this...? Thanks!!