We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 959b3e9 commit 1d3cc43Copy full SHA for 1d3cc43
eFormAPI/Plugins/Workflow.Pn/Workflow.Pn/Services/WorkflowCasesService/WorkflowCasesService.cs
@@ -424,7 +424,9 @@ public async Task<OperationResult> UpdateWorkflowCase(WorkflowCasesUpdateModel m
424
Site createdBySite = await sdkDbContext.Sites.SingleOrDefaultAsync(x => x.Id == _case.SiteId);
425
if (!string.IsNullOrEmpty(workflowCase.SolvedBy))
426
{
427
- Site site = await sdkDbContext.Sites.SingleOrDefaultAsync(x =>
+ Site site = await sdkDbContext.Sites
428
+ .Where(x => x.WorkflowState != Constants.WorkflowStates.Removed)
429
+ .SingleOrDefaultAsync(x =>
430
x.Name == workflowCase.SolvedBy);
431
432
if (workflowCase.SolvedBy != createdBySite.Name)
0 commit comments