Ad Widget

Collapse

Setting the trigger from JSON data true / false

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tomdom
    Member
    • Nov 2021
    • 38

    #1

    Setting the trigger from JSON data true / false

    Hey, I'm having a problem setting the alarm trigger for data downloaded in JSON format. It gets true if it works, false if it doesn't. How do I set the trigger?

    JSONpatch: true


    Click image for larger version

Name:	Zrzut ekranu 2021-11-2 o 12.42.41.png
Views:	1647
Size:	40.8 KB
ID:	434066
  • tomdom
    Member
    • Nov 2021
    • 38

    #2
    Thank you for your interest in the topic. Yes it's just an item validation I wanted to show what I get.
    I am familiar with the documentation of the trigger and unfortunately I cannot cope with it.


    I think. that in Expression I should add ITEM.VALUE = 1, but how?Click image for larger version

Name:	Zrzut ekranu 2021-11-3 o 09.45.20.png
Views:	1612
Size:	62.9 KB
ID:	434099

    Comment

    • tomdom
      Member
      • Nov 2021
      • 38

      #3

      Thanks for explaining how to use a macro. That's exactly how it returns the text, but unfortunately find does not work (/bDS-TEST/bds.IN.check / "" like "," false ")

      Click image for larger version

Name:	Zrzut ekranu 2021-11-4 o 10.12.46.png
Views:	1619
Size:	48.7 KB
ID:	434176

      Comment

      • tomdom
        Member
        • Nov 2021
        • 38

        #4
        This is version 5.4.6

        Comment

        • tomdom
          Member
          • Nov 2021
          • 38

          #5
          Cyber, I was able to make the trigger in this configuration:

          Click image for larger version

Name:	Zrzut ekranu 2021-11-4 o 10.39.36.png
Views:	2030
Size:	9.1 KB
ID:	434183


          I think we can close the topic, thank you for your help
          Attached Files

          Comment

          Working...