From e43dcaa8e35009fd35933e0d4e3b51aac463408e Mon Sep 17 00:00:00 2001 From: VijayalakshmiSF4471 <164475295+VijayalakshmirSF4471@users.noreply.github.com> Date: Tue, 31 Dec 2024 10:50:30 +0530 Subject: [PATCH] feature(405666): made changes based on delete api route changes --- .../components/workflow-diagram/workflow-diagram.component.ts | 1 + src/app/models/appModel.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/src/app/components/workflow-diagram/workflow-diagram.component.ts b/src/app/components/workflow-diagram/workflow-diagram.component.ts index 4dd3817..fa11e30 100644 --- a/src/app/components/workflow-diagram/workflow-diagram.component.ts +++ b/src/app/components/workflow-diagram/workflow-diagram.component.ts @@ -121,6 +121,7 @@ export class WorkflowDiagramComponent implements AfterViewInit { if(data.chatWorkflowEditorTypeId == 2) { buttonCount = data.fieldOptionDetails?.length || 0; } + data.chatWorkflowId = this.workflowID; nodeModel.id= `node${data.id}`; nodeModel.width= 200; nodeModel.height= 150 + (buttonCount * 25); diff --git a/src/app/models/appModel.ts b/src/app/models/appModel.ts index 2faf6c3..76805be 100644 --- a/src/app/models/appModel.ts +++ b/src/app/models/appModel.ts @@ -72,6 +72,7 @@ export interface RuleData2 { // Define the main Workflow interface export interface ChatWorkflowRulesData { id: number; + chatWorkflowId: number; successWorkflowId?: number | null; successRuleId?: number | null; chatWorkflowBlockId: number;