newWorkflow Workflow,
archetypeID chasm.ArchetypeID,
defer func() {
if rec := recover(); rec != nil {
r.cleanupTransaction(currentWorkflow, targetWorkflow, newWorkflow, errPanic)
panic(rec)
r.cleanupTransaction(currentWorkflow, targetWorkflow, newWorkflow, retError)
}
}()
case nDCTransactionPolicyUpdateAsCurrent:
return r.updateAsCurrent(