You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewProblemDetailsException(new(ProblemTypes.AdmissionFailed,ProblemTitles.AdmissionFailed,(int)HttpStatusCode.BadRequest,$"The workflow instance '{workflowInstanceReference}' is in an expected phase '{original.Status?.Phase}'"));
if(!string.IsNullOrWhiteSpace(original.Status?.Phase)&&original.Status?.Phase!=WorkflowInstanceStatusPhase.Waiting)thrownewProblemDetailsException(new(ProblemTypes.AdmissionFailed,ProblemTitles.AdmissionFailed,(int)HttpStatusCode.BadRequest,$"The workflow instance '{workflowInstanceReference}' is in an expected phase '{original.Status?.Phase}'"));
if(original.Status?.Phase!=WorkflowInstanceStatusPhase.Running)thrownewProblemDetailsException(new(ProblemTypes.AdmissionFailed,ProblemTitles.AdmissionFailed,(int)HttpStatusCode.BadRequest,$"The workflow instance '{workflowInstanceReference}' is in an expected phase '{original.Status?.Phase}'"));
0 commit comments