diff --git a/packages/cli/src/WorkflowExecuteAdditionalData.ts b/packages/cli/src/WorkflowExecuteAdditionalData.ts index 20bc0331d6..a8b0a9ef3e 100644 --- a/packages/cli/src/WorkflowExecuteAdditionalData.ts +++ b/packages/cli/src/WorkflowExecuteAdditionalData.ts @@ -88,7 +88,9 @@ export function executeErrorWorkflow( let pastExecutionUrl: string | undefined; if (executionId !== undefined) { - pastExecutionUrl = `${WebhookHelpers.getWebhookBaseUrl()}execution/${executionId}`; + pastExecutionUrl = `${WebhookHelpers.getWebhookBaseUrl()}workflow/${ + workflowData.id + }/executions/${executionId}`; } if (fullRunData.data.resultData.error !== undefined) { diff --git a/packages/nodes-base/nodes/ErrorTrigger/ErrorTrigger.node.ts b/packages/nodes-base/nodes/ErrorTrigger/ErrorTrigger.node.ts index ab2db4010a..963d23d9fa 100644 --- a/packages/nodes-base/nodes/ErrorTrigger/ErrorTrigger.node.ts +++ b/packages/nodes-base/nodes/ErrorTrigger/ErrorTrigger.node.ts @@ -54,7 +54,7 @@ export class ErrorTrigger implements INodeType { items[0].json = { execution: { id, - url: `${urlParts.join('/')}/${id}`, + url: `${urlParts.join('/')}/workflow/1/${id}`, retryOf: '34', error: { message: 'Example Error Message',