Perspective version 8.x updating a direct tag with a button

I am trying to change a Memory tag using a button. The tag is a BOOL. I’ve used this code in an Event on the button:

tagPath = “[default]SORTER_A_CUSTOM/testing”
values = [0]
system.tag.writeAsync(tags, values)

Every example I’ve found uses a an indirect path to the same tag. Is it possible to update another tag using a button, not a toggle or a checkbox?

Try changing the first line like so:

tags = ["[default]SORTER_A_CUSTOM/testing"]

writeAsync() needs a list for both tag paths and values.

Thanks. But it didn’t work.

Ok.

Ok, after looking closer… it helps to match variable names AND saving before click on the button in the browser! LOL. THX!