365
// the target workflow is not reset so it is still the current workflow. It need to persist updated version histories.
366
return persistence.UpdateWorkflowModeUpdateCurrent, historyi.TransactionPolicyPassive, nil
368
>
// after the reset of target workflow (current workflow) with additional events to be reapplied
369
>
// target workflow is no longer the current workflow
370
>
return persistence.UpdateWorkflowModeBypassCurrent, historyi.TransactionPolicyPassive, nil
371
default:
372
return 0, historyi.TransactionPolicyActive, err