I'm new to nodered. I'd like to set a context variable with flow scope to control another node in the same page. But, I get "SyntaxError: Invalid or unexpected token (body:line 1)"
[{"id":"db8cd33d.d63fb","type":"ui_button","z":"107c0bc9.ee7e94","name":"","group":"de5434f4.427aa8","order":0,"width":"0","height":"0","passthru":false,"label":"{{payload}}","tooltip":"","color":"","bgcolor":"{{colour}}","icon":"","payload":"press","payloadType":"str","topic":"","x":850,"y":360,"wires":[["e06dd672.171ab"]]},{"id":"add82538.28a428","type":"change","z":"107c0bc9.ee7e94","name":"","rules":[{"t":"set","p":"colour","pt":"msg","to":"green","tot":"str"},{"t":"set","p":"payload","pt":"msg","to":"App1","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":670,"y":315,"wires":[["db8cd33d.d63fb"]]},{"id":"e06dd672.171ab","type":"function","z":"107c0bc9.ee7e94","name":"state2","func":"var state = flow.get(“bIsRunning”);\nstate = !state;\nflow.set(“bIsRunning”, state);\nif (state) { return [msg,null]; }\nelse { return [null,msg]; }","outputs":2,"noerr":2,"initialize":"","finalize":"","x":475,"y":360,"wires":[["add82538.28a428"],["56955565.83a8bc"]]},{"id":"56955565.83a8bc","type":"change","z":"107c0bc9.ee7e94","name":"","rules":[{"t":"set","p":"colour","pt":"msg","to":"red","tot":"str"},{"t":"set","p":"payload","pt":"msg","to":"App1 Running","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":670,"y":360,"wires":[["db8cd33d.d63fb"]]},{"id":"65ef2f61.fd3e08","type":"ui_ui-button","z":"107c0bc9.ee7e94","action":"bIsRunning","actionType":"flow","name":"","group":"de5434f4.427aa8","order":3,"width":0,"height":0,"passthru":false,"label":"KillAllApps","tooltip":"","color":"","bgcolor":"","icon":"","x":130,"y":220,"wires":[["2f44599b.0bdcf6"]]},{"id":"2f44599b.0bdcf6","type":"function","z":"107c0bc9.ee7e94","name":"state1","func":"flow.set(“bIsRunning”, true);\n// make it part of the outgoing msg object\n//msg.bIsRunning = bIsRunning;\n//return msg;\n","outputs":0,"noerr":2,"initialize":"","finalize":"","x":330,"y":220,"wires":[]},{"id":"de5434f4.427aa8","type":"ui_group","z":"","name":"pk22","tab":"23a7844a.b411c4","order":1,"disp":true,"width":"6","collapse":false},{"id":"23a7844a.b411c4","type":"ui_tab","z":"","name":"TabPk1","icon":"dashboard","disabled":false,"hidden":false}]