GithubHelp home page GithubHelp logo

Comments (5)

Joffcom avatar Joffcom commented on June 18, 2024

Hey @pbrink231,

I have taken a look at this and it looks you are seeing the same issue that was reported here: #7509 for the first part.

When the data is pinned it is the same the node will use the data from the path that is triggered from the switch node so in your screenshot the edit fields node is using the pinned data from the High branch as that is the route being taken to trigger the node this doesn't seem like a bug to me and is expected.

If both nodes were to trigger you would see the Run option in the output as the node would run once for each incoming input, This doesn't tell you which node ran to get the data in though so if you wanted to raise a feature request on the community support forum for this we can look at adding it.

image

For now I believe as this is mostly a duplicate of the other issue I think we can close this, Let me know if I have missed anything or if you have any other concerns and we can open this again.

from n8n.

pbrink231 avatar pbrink231 commented on June 18, 2024

Thank you @Joffcom for taking a look.

I think you pointed out the issue exactly and I looked for previous issues but didn't find that one.

From your response I think I would request 2 features if they don't exist already and hopefully I can try and attack them myself.

  • Output, Show which node name the input came from
  • Test Step, drop down to choose which input to use
    • workflow (however the flow goes, currently used)
    • input 1
    • input 2
    • etc..

I will put them in later and update here.

from n8n.

pbrink231 avatar pbrink231 commented on June 18, 2024

@Joffcom, There is actually a bug here.

This phase seems to be inaccurate

When the data is pinned it is the same the node will use the data from the path that is triggered from the switch node so in your screenshot the edit fields node is using the pinned data from the High branch as that is the route being taken to trigger the node this doesn't seem like a bug to me and is expected.

It seems the path that is triggered is always the high branch (in the case of pinned data) because it was the first in the input drop down list (explained in the other issue). I believe the "Test step" is not actually using the workflow at all to figure out the input.

I am posting a full detail in the other Issue since it is open and related to this issue.
#7509

from n8n.

Joffcom avatar Joffcom commented on June 18, 2024

Hey @pbrink231,

Based on your screenshot and what I spotted that appeared to be the case but it is also very possible that the same issue with first node only being used is in play as well.

from n8n.

pbrink231 avatar pbrink231 commented on June 18, 2024

@Joffcom

I did a test. I removed the "high side" and then added it again. The dropdown input list showing past inputs now had "low side" first, then "high side".

When running the tests everything was reversed. It now used "low side" as the input always instead of "high side".

I don't understand when the nodes are not pinned, why it runs the first time when the workflow is using the first input and then does not work at all after that.

image

from n8n.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.