Error writing to reference tag. Tag Provider not found

I have a reference tag that I am using to write a 1 or 0 to a plc boolean tag. When I tie this reference tag to another tag within the same tag provider it works. But when I try to tie it to a tag in a different tag provider it does not work and give me an error about tag provider not being found.

image

Is the tag browser showing a successful read for [RTP_SistemTek]Skim Car/Test/State? If not then check the spelling, etc.

Meanwhile:

The script could be reduced to one line after the def:
system.tag.writeBlocking([<your_tag_path>], [currentValue.value])
Just pass out the bool that came in.

Note that system.tag.writeBlocking is expecting two lists. (See the square brackets in my line of code above.) For single values it works as you've written it for now, but it may break on future releases. See system.tag.writeBlocking - Ignition User Manual 8.1 - Ignition Documentation.