// Preserve create_time and first_activation_time if they exist in current summary. This is to ensure that if the version
// had already been activated before, we don't override the first activation time by setting it to a wrong value.
if existingSummary := d.State.Versions[summary.GetVersion()]; existingSummary.GetCreateTime() != nil {
workflow.go
summary.CreateTime = existingSummary.GetCreateTime()