Changing state of a perspective symbol depending if the valve is running or not

Hello,
I wanted to change the state of a valve perspective symbol to open when the tag value linked to it is more than 0 and closed if it is 0.

Create a tag binding on props.state.

https://docs.inductiveautomation.com/display/DOC81/Map+Transform

3 Likes