mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
fix(core): Fix resuming executions on test webhooks from Wait nodes (#13168)
This commit is contained in:
@@ -121,6 +121,12 @@ export class WaitingWebhooks implements IWebhookManager {
|
||||
|
||||
const lastNodeExecuted = execution.data.resultData.lastNodeExecuted as string;
|
||||
|
||||
/**
|
||||
* A manual execution resumed by a webhook call needs to be marked as such
|
||||
* so workers in scaling mode reuse the existing execution data.
|
||||
*/
|
||||
if (execution.mode === 'manual') execution.data.isTestWebhook = true;
|
||||
|
||||
return await this.getWebhookExecutionData({
|
||||
execution,
|
||||
req,
|
||||
|
||||
Reference in New Issue
Block a user