fix
This commit is contained in:
@@ -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<WorkflowModel>()
|
||||
{
|
||||
@@ -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<WorkflowModel>()
|
||||
{
|
||||
@@ -786,4 +786,4 @@ public class WorkflowService : IWorkflowService, ILoggable
|
||||
// }
|
||||
//}
|
||||
//#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user