Issue with from entries

  • knechtus-1377675811888562366

    knechtus paulus

    8 days ago

    Hello everyone,
    I'm currently working on a university project and I'm a bit stuck because I'm having an issue with the "from entries" node. I'm trying to create a JSON object with the structure {[id]: isFilled} to save it in local storage. For this, I'm using two Array nodes that lead into the "from entries" node. My problem is that I don't understand why I'm only getting undefined null in the output.
    Have a look at the attached image

    I've already tried several debugging steps to find the cause:
    1. I checked if getid and isFilled provide the correct values. Neither of the values were initially undefined or null.
    2. I set the value of the isFilled variable to a number instead to see if the issue was related to the interpretation of false.
    3. I set defaults using the Default to node, but this also didn't change the undefined null output.

    Maybe I'm just doing it completely wrong or I have a fundamental misunderstanding, so I'd be very grateful for your help.
    1377675812119253102-from_entries.png
  • whitep4nth3r-1377676735541411850

    salma

    8 days ago

    try removing this node, as this is creating an array within an array
    1377676735293685771-image0.jpg
  • The double brackets here show an array within an array
    1377676886083240069-image0.jpg