Use Derived tag write expression to write back to two other tags

Hi,

I'm using a derived tag to read and concatenate two tags. This is working but i would like the write expression to write back a value two those both tags when the derived is changing.

Can i use the write expression for this of do i need to go via scripting ?

Regards

Maybe you can use a runScript() in your setter expression?

I use it quite successfully to publish to MQTT custom namespaces. Just remember to return the value from the script function, else you get a momentary null which may or may not cause you issues in the getter expression.

Hi @deon.korb,

thanks for the help the setter is an expression at my side. the getter would be a script then so i'm able to write to two tags at the same time. I forgot to mention taht i'm inside a udt.