-
Incident report
-
Resolution: Won't fix
-
Trivial
-
None
-
7.0.5
-
None
Steps to reproduce:
- Create script type item with this content:
return '<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>\ <status>\ <output>\ <channel num="1">\ <message>no ttx data</message>\ </channel>\ <channel num="2">\ <message>ok</message>\ </channel>\ </output>\ </status>'
- Sets item preprocessing:
1. XML to JSON 2. JSON Path: $.status.output.channel.[?(@['@num'] == 1)].message.first()
- Create trigger for item with expression:
in(last(/test/test.in),"ok","no ttx data")=0
- Wait 1m whet script will be execute
Result:
Trigger staus: PROBLEM
Expected:
Trigger staus: OK