Javi Fedez
Javi Fedez6mo ago

branch output

Hi! i am newie with BuildShip, is there any way to get the output of any of the options in a branch for continue the flow? I want to return any of the outputs of the last step... i have try to use the AI tool but no way... Thank you
No description
Solution:
Hi @javilin, you can add a return on either side of the branches to get the output of the branch.https://docs.buildship.com/core-nodes/if-else#example-conditional-response-based-on-request-body
Branch (If Else) – BuildShip
A unified resource to start building your backend with low-code. Dive into triggers, nodes, and step-by-step guidance to jumpstart your workflow creation.
Jump to solution
4 Replies
Solution
Gaurav Chadha
Gaurav Chadha6mo ago
Hi @javilin, you can add a return on either side of the branches to get the output of the branch.https://docs.buildship.com/core-nodes/if-else#example-conditional-response-based-on-request-body
Branch (If Else) – BuildShip
A unified resource to start building your backend with low-code. Dive into triggers, nodes, and step-by-step guidance to jumpstart your workflow creation.
Javi Fedez
Javi Fedez6mo ago
Hi Gaurav! I would like have just 1 return in the middle of both, I mean in the output of whichever branch takes
Gaurav Chadha
Gaurav Chadha6mo ago
Hi @javilin, you can add the node and return the output of which ever branch but that logic won't be correct as only one branch will be executed at a time.
Javi Fedez
Javi Fedez6mo ago
OK, that is what I want to confirm because I didn’t get with the solution. Thank you.