Jrocks
Jrocks5mo ago

Jrocks - I'm not sure how to use the Branch nod...

I'm not sure how to use the Branch node to check if the value for my variable "code" exists or is empty from the REST API call. What should I put in the expression editor to check whether the variable "code" has a value or is empty? If it has a value, I want it to go to one branch that leads to the next node, and if it's empty, I want it to do nothing.
No description
Solution:
Hi @Jrocks, you can refer to this - https://docs.buildship.com/core-nodes/if-else. Also for more questions you can open a post on #❓・buildship-help
Jump to solution
5 Replies
Solution
Gaurav Chadha
Gaurav Chadha5mo ago
Hi @Jrocks, you can refer to this - https://docs.buildship.com/core-nodes/if-else. Also for more questions you can open a post on #❓・buildship-help
Jrocks
JrocksOP5mo ago
Thanks!
Jrocks
JrocksOP5mo ago
Is there a plan to update the Branch node so that the conditions are provided in a dropdown field, allowing users to simply select the one they need? For example, a placeholder for values and a dropdown in the middle to select the required condition. This would also be useful for the other default nodes, making it much easier for users with limited coding knowledge like me. Here's a design example I created as a suggestion, I hope your team sees this and considers it 😃
No description
Jrocks
JrocksOP5mo ago
just posted this in the feature request
Gaurav Chadha
Gaurav Chadha5mo ago
cc @gerard