mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 19:11:13 +00:00
⚡ Save on new workflow executions with webhook (#2231)
* save on new workflow executions * only save if webhook node
This commit is contained in:
@@ -140,6 +140,12 @@ export const workflowRun = mixins(
|
||||
startNodes.push(nodeName);
|
||||
}
|
||||
|
||||
const isNewWorkflow = this.$store.getters.isNewWorkflow;
|
||||
const hasWebhookNode = this.$store.getters.currentWorkflowHasWebhookNode;
|
||||
if (isNewWorkflow && hasWebhookNode) {
|
||||
await this.saveCurrentWorkflow();
|
||||
}
|
||||
|
||||
const workflowData = await this.getWorkflowDataToSave();
|
||||
|
||||
const startRunData: IStartRunData = {
|
||||
|
||||
Reference in New Issue
Block a user