-
Notifications
You must be signed in to change notification settings - Fork 7.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Retain execution data between partial executions (new flow) #11828
base: master
Are you sure you want to change the base?
Changes from all commits
adf6b90
1c38aff
946f514
7c9781d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ import type { | |
import { NodeConnectionType } from 'n8n-workflow'; | ||
|
||
import { If } from '../../../nodes-base/dist/nodes/If/If.node'; | ||
import { ManualTrigger } from '../../../nodes-base/dist/nodes/ManualTrigger/ManualTrigger.node'; | ||
import { Merge } from '../../../nodes-base/dist/nodes/Merge/Merge.node'; | ||
import { NoOp } from '../../../nodes-base/dist/nodes/NoOp/NoOp.node'; | ||
import { Set } from '../../../nodes-base/dist/nodes/Set/Set.node'; | ||
|
@@ -33,6 +34,10 @@ export const predefinedNodesTypes: INodeTypeData = { | |
type: new Start(), | ||
sourcePath: '', | ||
}, | ||
'n8n-nodes-base.manualTrigger': { | ||
type: new ManualTrigger(), | ||
sourcePath: '', | ||
}, | ||
Comment on lines
+37
to
+40
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I needed an actual trigger to test the The start node above is not marked as a trigger, so I added the manual trigger here. |
||
'n8n-nodes-base.versionTest': { | ||
sourcePath: '', | ||
type: { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -259,7 +259,7 @@ export function useRunWorkflow(useRunWorkflowOpts: { router: ReturnType<typeof u | |
executedNode, | ||
data: { | ||
resultData: { | ||
runData: newRunData ?? {}, | ||
runData: startRunData.runData ?? {}, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixes that previous run data disappears. This should be the same run data that is sent to the BE.
|
||
pinData: workflowData.pinData, | ||
workflowData, | ||
}, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm assuming this was supposed to be
test
and notdescribe
.