LoginSignup
3
1

More than 5 years have passed since last update.

Node-redのjsonataでGlobalとかFlowにアクセスできる(v0.17~)

Posted at

何の話?

Node-redでChangeノードでマジ便利なjsonataで、GlobalとかFlowとかにどうやってアクセスすんだよ!?って話です。
(標準がmsgを省略したパスで記述するので、、、)

結論

$globalContext("hogehoge")で
global.hogehoge
にアクセスできます。Flowも同じ。

参考

ちなみに
https://groups.google.com/forum/#!topic/node-red/QtIVXllCj4s
で出来ないって言ってる人いるけどなんでやろ。v0.17.5 on bluemixなら行けたけどな。

3
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
1