On 8.1.28.
I have been battling something for a while and I have narrowed it down:
I want to search for a name and a value, this is the script:
provider = 'default'
limit = 100
query = {
"options": {
"includeUdtMembers": True,
"includeUdtDefinitions": False
},
"condition": {
"attributes": {
"values": [],
"requireAll": True
},
"properties": {
"op": "Or",
"conditions": [
{
"op": "And",
"conditions": [
{
"prop": "name",
"comp": "Equal",
"value": "MyTagName"
},
{
"prop": "value",
"comp": "Equal",
"value": "[1, Good, Sun Jul 16 09:47:08 EDT 2023 (1689515228005)]"
}
]
}
]
}
},
"returnProperties": [
"tagType",
"quality"
]
}
results = system.tag.query(provider, query, limit)
Screenshot for the tag report tool:
I have noticed sometimes it works, other times it doesn't. Currently I am using Top Server in simulation mode. If I read the qualified value it comes back as:
[true, Good, Sun Jul 16 09:46:04 EDT 2023 (1689515164393)]
But, no results from the tag report tool. If I change the tag to memory the qualified value looks no different (except for the timestamp), but the tag report tool returns what it should.
I see nothing in the tag diagnostics that suggest something is wrong. Any ideas on why this is happening? @ggross