Selectors and GUIDs
TODO — this page requires input from the DAQS product team on how selectors work in the rule configuration.
GUIDs in rules
GUIDs appear in DAQS rules in two contexts:
1. Shared parameter access in filters
Shared parameters in the DAQS JSON are stored under a key derived from their GUID:
"values": {
"p_8fe8f5ce-4979-4679-b5e0-ccfb362b9059": {
"value": "EI 30",
"hasValue": true
}
}
In the filter, you access this using $lookup:
$lookup(values, "p_8fe8f5ce-4979-4679-b5e0-ccfb362b9059")
Or with the helper pattern:
$paramGuids := {
"FireRating": "8fe8f5ce-4979-4679-b5e0-ccfb362b9059"
};
2. Finding a GUID by parameter name
To look up the GUID for a shared parameter by name:
$[type = "Parameter" and values.name = "NLRS_C_brandwerendheid"].values.guid
Always use GUIDs to access shared parameters — not names. Names can be changed or duplicated. The GUID is permanent.
See Identity vs Value.