Hi there.
I’m using a sub-workflow in one of my workflows working with Redmine. My sub-workflow simulates pagination, so it loops over the users.json of redmine with an offset until it got all users. my last node is a code node with this code:
return [
{
json: {
list: $input.first().json.allUsers,
total: $input.first().json.total
}
}
];
that has the following output:
[
{
“list”: [
{
“id”: 31,
“login”: “test”,
“admin”: false,
“firstname”: “Test”,
“lastname”: “Here”,
“mail”: “test@test”,
“created_on”: “2025-04-30T12:55:00Z”,
“updated_on”: “2025-04-30T12:55:00Z”,
“last_login_on”: null,
“passwd_changed_on”: “2025-04-30T12:55:00Z”,
“twofa_scheme”: null
},
{
…
}
],
“total”: 3
}
]
Thats what I see when I click on “View sub-execution”.
BUT for some reason, my Execute Workflow Node has no output?
When I force an output, its always just empty
[
{
}
]
Can someone please explain if I do or understand something wrong?
Thats my sub-workflow: