-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot specify node input source or output destination #11
Comments
I have always used msg.payload so I do not have the use case but it wouldn't hurt to be flexible? @hidetak do you already have a use case? |
As you know, Node-RED nodes generally use msg.payload. A -> B -> C If the data output by node A to msg.payload is to be used by node C, the data output by A must be temporarily stored in another member(ex. msg.tmp) and then put back into msg.payload before calling C. For example, if you want to register the output data of an Invoke-Action node to the Web API, you would have to log in, get a token, and request the output data, which is the situation. The ability to change input and output members would simplify the flow. |
@hidetak I understand the problem. I would have just done what you have said, i.e. Do you think this is too annoying for our users? At the same time, I do not understand what you mean by |
Thank you for your reply!
I think it depends on the complexity of the flow on the client side of WoT.
Currently, the server-side node input source/output destination is configurable, but the client-side input source/output destination is fixed to payload. |
Ok I understand now. It would be a nice thing to do but until we have more complicated data flows, I do not see a need to prioritise it (feel free to do it though). At least, I only do the simple flow you mentioned above. |
Thank you for your input. |
Server-side nodes can specify the input source and output destination on the node's configuration screen.
When creating complex flows, it would be more convenient to be able to set the input source and output destination.
I think it would be better to allow client-side nodes to specify input source and output destination as well, but I would appreciate any suggestions you may have.
The text was updated successfully, but these errors were encountered: