I have a question: How can I access other node parameters in loadOptions method?
As I realized in loadOptions method we can’t reach this.getWorkflow(), and also getNodeParameter only works with the current node not other nodes.
Do you have any idea?
What about “execute” method? is there any way to get other nodes data that exist in the current workflow?
It seems this.getWorkflow() only returns id and name. I need a method that returns all nodes (defined in the current workflow) as well.
To make it clearer You can then access everything via the proxy that you can access via Expressions or the Function-Node, as that is what they are using underneath the hood.
I must use the name of a node which is mutable, for example “Date & Time”. Is there any way to find the node by the actual node name like “n8n-nodes-base.dateTime” ?
The actual node name is in this case “Date & Time” which is unique in each workflow. What you are asking is to find them by their type (“n8n-nodes-base.dateTime”), of which there could be multiple nodes in a workflow.
Sadly is there currently no way to query nodes by their type.