Skip to content

Commit

Permalink
Added Paired items to executeWorkflow Node
Browse files Browse the repository at this point in the history
  • Loading branch information
ShireenMissi committed Feb 21, 2025
1 parent 72adfec commit 40fc986
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -445,13 +445,15 @@ export class ExecuteWorkflow implements INodeType {

return workflowResult;
} catch (error) {
const pairedItem = generatePairedItemData(items.length);
if (this.continueOnFail()) {
const metadata = parseErrorMetadata(error);
return [
[
{
json: { error: error.message },
metadata,
pairedItem,
},
],
];
Expand Down

0 comments on commit 40fc986

Please sign in to comment.