I'm new to node-red and seem to run against something not very logical?
I try to replace the word "NA" with a value, so I can send it in a http request.
For some reason the string is not recognized in the change node when using the "search for" option, despite being part of the payload.
I've tried to make several variants (with/without quotes to search, pointing to the exact part of the payload, ...) but the word NA is never found. I believe to be missing something obvious.
Or is that msg.payload.PostState.state?
Hard to be sure when all we have to go on is a picture, two wires into one debug node and two identically named change nodes
Thanks,
sorry for confusion, only lower part of screenshot was relevant.
The winning combination turned out to be msg.payload.PostState.state and NA without the "" quotes.
I probably mistakenly understood "search for" would search through the entire payload automatically.