Brian
Brian2mo ago

V2: What happens if node uses unrequired Input and this variable is not set

Let's say I have a "text" as one of many inputs and I set it to NOT required. Now another node uses this input for its own input. What happens there? Would the node fail (because that was the case in v1)?
3 Replies
AI Support
AI Support2mo ago
AI Support Bot Information
<@112676328783802368> you can react on the relevant answer (message) with a ✅ in this thread when you think it has been solved, by the bot or by a human! Anyone can react on this message with a ❌ if the GPT bot is unhelpful or hallucinating answers. Please note: Team members will review and answer the questions on best efforts basis.
AI Support
AI Support2mo ago
AI Response
When a node uses an input that has been set to "not required," the behavior can vary based on how the workflow is set up. In BuildShip, if a subsequent node depends on an input from a previous node that is not marked as required and this input is missing, you might encounter issues similar to what you experienced in previous versions. This is especially true if other flows or connections in your workflow rely on that input still being populated. For more information on how inputs are configured and how they affect the workflow, you may refer to the input configuration documentation【4:11†source】.
BuildShip AI Support
Brian
BrianOP2mo ago
That is not quite correct. In v1 a node was failing if a sub-parameter was missing (unrelated to the node's code). For example if the fetch request's body was missing the "name_id" parameter it would directly fail there because the parameter is not in the body. Would this happen in V2 even if the node's input variable on where this name_id is being used does not have to be set?