Property node
Reference an item's property value
The Property node references the value of the chosen property, which can be read from:
-
the item being queried
-
a linked item, reached via one or more Link attributes,
e.g. the Teams item → its Members attribute → a Team Member item
Usage
This node is an input, so you can add it to the segments of these comparison nodes:
-
Less than / Greater than (only Last edit date)
Compatibility
This node fills one segment. A second segment must hold a value compatible with the chosen property, but not an Attribute node.
| Property | Description | Example | Node |
|---|---|---|---|
| Design code | The unique name of the item's design/interface | designs_streetLights | Global Unique Code |
| Item Id | The unique number of the item | 5c8bdfb58ae862230019dc1f | Item, Value From Item Attribute |
| Last edit date | The date and time the item was last modified | 15 March 2024 14:10 | Date Time, Relative Date Time, Value From Item Attribute |
Options
Select the node to access its options:
-
Open in Pathfinder - use the Pathfinder to examine the chosen property on a linked design/interface, by performing one or more "hops".
-
Delete - remove the node from the segment.
-
Choose the property to examine.
Example
Fetch all assets that were edited today.
In AQS terms:
Fetch items of the Assets interface where their Last edit date property is greater than 0 seconds from Start of Day.
See JSON code
This code may reference designs, interfaces, attributes or items that don't exist in your company project.
{
"type": "Query",
"properties": {
"collectionCode": "Live",
"dodiCode": "designInterfaces_assets"
},
"children": [
{
"type": "GreaterThan",
"children": [
{
"type": "ItemProperty",
"properties": {
"itemPropertyName": "lastEditDate"
}
},
{
"type": "RelativeDateTime",
"properties": {
"relativeTo": "Now",
"value": ["0.00:00:00.000"]
}
}
]
}
]
}