Skip to main content
16-Pearl
March 27, 2024
Solved

The property VALUE of my thing just hides itself

  • March 27, 2024
  • 1 reply
  • 1364 views

I have attached a screenshot in this post. Please have a look at it. The value of one of my property just goes away and contains no value. Its really strange behaviour. Does anyone knows whats an issue here?? It just goes away after few days and i have set it again always..

 

 

Jamal8548_0-1711548446936.png

 

 

Best answer by Sathishkumar_C

Make sure the property is persistent (Persist = TRUE).

Sathishkumar_C_0-1711561260953.png

 

1 reply

17-Peridot
March 27, 2024

Make sure the property is persistent (Persist = TRUE).

Sathishkumar_C_0-1711561260953.png

 

MA873117416-PearlAuthor
16-Pearl
April 5, 2024

Thanks @Sathishkumar_C ! The problem is resolved. 

 

My next question is do you know that 

 

How to store the state of variable in thingworx functions?

Is there any way that i can store the state of this parameter in expression. I dont have anything to bind it from my mashup. So in the screenshot you can see that i have bool which has default value true and i just want it to change every time i use this function. For example I change the state to false then again next time i evaluate i turn it into true.

Jamal8548_0-1712296745695.png

 

 

15-Moonstone
April 5, 2024

You can simply add a invisible checkbox to the mashup and bind the state of it as input and output to your expression.