From c6fa2bef4d98a3e208bab942966ba521d37197e8 Mon Sep 17 00:00:00 2001 From: Behzad Alizadeh Date: Mon, 9 Feb 2026 14:09:23 +0330 Subject: [PATCH] fix --- .../Caspian.WorkflowFramework/Services/WorkflowService.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/apps/Caspian.WorkflowFramework/Services/WorkflowService.cs b/src/apps/Caspian.WorkflowFramework/Services/WorkflowService.cs index 0a7fba9..19d6d64 100644 --- a/src/apps/Caspian.WorkflowFramework/Services/WorkflowService.cs +++ b/src/apps/Caspian.WorkflowFramework/Services/WorkflowService.cs @@ -102,7 +102,7 @@ public class WorkflowService : IWorkflowService, ILoggable var workflowModel = dictionary.ConvertToWorkflowModel(); workflowModel.InstanceId = workflowClient.WorkflowInstanceId; workflowModel.UserId = input.UserId; - workflowModel.InstanceMode = "exist"; + workflowModel.InstanceMode = "new"; response = new WorkflowResponse() { @@ -222,7 +222,7 @@ public class WorkflowService : IWorkflowService, ILoggable var workflowModel = dictionary.ConvertToWorkflowModel(); workflowModel.InstanceId = workflowInstanceId; workflowModel.UserId = input.UserId; - workflowModel.InstanceId = runningWorkflowInstance != null ? "exist" : "new"; + workflowModel.InstanceMode = runningWorkflowInstance != null ? "exist" : "new"; response = new WorkflowResponse() { @@ -786,4 +786,4 @@ public class WorkflowService : IWorkflowService, ILoggable // } //} //#endregion -} +} \ No newline at end of file