Describe the problem/error/question
I want to apply the if condition on the node,
If set2 is not triggered or has an empty value, the Merge item b should be the value of
propertyName
.
{{$node["Set2"].json["Hello"] ? $node["Set2"].json["Hello"] : $node["Merge"].json["b"]}}
What is the error message (if any)?
Please share your workflow
Share the output returned by the last node
Information on your n8n setup
- n8n version:
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app):
- Operating system:
n8n
2
It looks like your topic is missing some important information. Could you provide the following if applicable.
- n8n version:
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app):
- Operating system:
barn4k
3
hello @Gouravdev
You can’t reference nodes which haven’t been executed. Instead you can combine two different branches into one place and refer to it later
3 Likes
system
Closed
5
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.