// current run ID, last write version, current workflow state check
switch request.Mode {
if currentRow == nil {
// current row does not exists, suits the create mode
} else {
if currentRow.RunID.String() != request.PreviousRunID {
return nil, m.extractCurrentWorkflowConflictError(