Skip to content

[BUG] Response body length returns 0 for arrays with multiple objects at runtime #43

Description

@komatlapalli

Checklist

Description

When the response body from a previous node contains multiple objects in an array, the current node does not display the correct data at runtime. Instead, the response body shows 0.
However, once the execution is completed and the node is reopened, the correct data is reflected.

Reproduction

  1. Configure a workflow with multiple nodes:
  • One HTTP Request node
  • One JavaScript (JS) node
  1. Configure the HTTP Request node so that it returns a response body containing an array with more than one object.
  2. In the JavaScript node, access the response and return the length of the response body array.
  3. Execute the workflow and observe the output of the JS node.

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions