Can't read temporary state value in a transformer

I have a temporary state named "riskyEngineFlags" that is defined with default values.

I wrote a javascript to do some things with that using riskyEngineFlags.value. It worked fine.

I then decided to redo it as a transformer, but it seems that riskyEngineFlags.value is undefined. I'm not trying to setValue, I am just wanted to read it.

Error I get in console:

Error:riskyEngineFlags is not defined


in transformer5, line 1(transformer5)

I believe you'll need to use {{riskyEngineFlags.value}} in a transformer. The JS queries don't require the brackets but transformers do.