n8n icon indicating copy to clipboard operation
n8n copied to clipboard

runExecutionData nodeExecutionStack has lost in fullRunData

Open huyujie opened this issue 1 year ago • 3 comments

when I print workflowExecution fullRunData in  n8n\packages\cli\src\WorkflowRunner.ts ,I discover nodeExecutionStack is [].

but in n8n\packages\core\src\WorkflowExecute.ts doesn't see nodeExecutionStack pop.

huyujie avatar Jan 31 '24 13:01 huyujie

Hey @huyujie,

Can you try reformatting this and completing the template we provide?

Joffcom avatar Jan 31 '24 14:01 Joffcom

@Joffcom fullRunData is like this.

{
	"data": {
		"startData": {},
		"resultData": {
			"runData": {
				"Schedule Trigger": [{
					"startTime": 1706711194187,
					"executionTime": 2,
					"source": [],
					"executionStatus": "success",
					"data": {
						"main": [
							[{
								"json": {
									"timestamp": "2024-01-31T09:26:34.189-05:00",
									"Readable date": "January 31st 2024, 9:26:34 am",
									"Readable time": "9:26:34 am",
									"Day of week": "Wednesday",
									"Year": "2024",
									"Month": "January",
									"Day of month": "31",
									"Hour": "09",
									"Minute": "26",
									"Second": "34",
									"Timezone": "EST -05:00"
								},
								"pairedItem": {
									"item": 0
								}
							}]
						]
					}
				}],
				"Code": [{
					"startTime": 1706711194190,
					"executionTime": 14,
					"source": [{
						"previousNode": "Schedule Trigger"
					}],
					"executionStatus": "success",
					"data": {
						"main": [
							[{
								"json": {
									"data": 1
								},
								"pairedItem": {
									"item": 0
								}
							}]
						]
					}
				}],
				"If": [{
					"startTime": 1706711194206,
					"executionTime": 0,
					"source": [{
						"previousNode": "Code"
					}],
					"executionStatus": "success",
					"data": {
						"main": [
							[],
							[{
								"json": {
									"data": 1
								},
								"pairedItem": {
									"item": 0
								}
							}]
						]
					}
				}],
				"falseNode": [{
					"startTime": 1706711194207,
					"executionTime": 8,
					"source": [{
						"previousNode": "If",
						"previousNodeOutput": 1
					}],
					"executionStatus": "success",
					"data": {
						"main": [
							[{
								"json": {
									"exitCode": 0,
									"stderr": "",
									"stdout": "false"
								},
								"pairedItem": {
									"item": 0
								}
							}]
						]
					}
				}]
			},
			"pinData": {},
			"lastNodeExecuted": "falseNode"
		},
		"executionData": {
			"contextData": {},
			"nodeExecutionStack": [],
			"metadata": {},
			"waitingExecution": {},
			"waitingExecutionSource": {}
		}
	},
	"mode": "manual",
	"startedAt": "2024-01-31T14:26:34.185Z",
	"stoppedAt": "2024-01-31T14:26:34.216Z",
	"status": "running",
	"finished": true
}

huyujie avatar Feb 01 '24 05:02 huyujie

Hey @huyujie,

The bug is still unclear to me, Can you complete the template we provide so we can look into this further?

Joffcom avatar Feb 05 '24 16:02 Joffcom

Hey @huyujie,

As the information requested has not been provided yet I am going to mark this as closed. If you want to open this issue again and provide the information we ask for I will be able to take a proper look at this.

Joffcom avatar Jul 07 '24 19:07 Joffcom