401
}
402
404
>
if transitionhistory.Compare(executionInfo.SignalRequestIdsLastUpdateVersionedTransition, exclusiveMinVT) > 0 {
405
signalRequestedIds = mutableState.GetPendingSignalRequestedIds()
406
}
407
409
>
UpdatedActivityInfos: getUpdatedInfo(mutableState.GetPendingActivityInfos(), exclusiveMinVT),
410
>
UpdatedTimerInfos: getUpdatedInfo(mutableState.GetPendingTimerInfos(), exclusiveMinVT),
411
>
UpdatedChildExecutionInfos: getUpdatedInfo(mutableState.GetPendingChildExecutionInfos(), exclusiveMinVT),
412
>
UpdatedRequestCancelInfos: getUpdatedInfo(mutableState.GetPendingRequestCancelExternalInfos(), exclusiveMinVT),
413
>
UpdatedSignalInfos: getUpdatedInfo(mutableState.GetPendingSignalExternalInfos(), exclusiveMinVT),
414
>
UpdatedUpdateInfos: getUpdatedInfo(executionInfo.UpdateInfos, exclusiveMinVT),
415
>
UpdatedChasmNodes: mutableState.ChasmTree().Snapshot(exclusiveMinVT).Nodes,
416
>
UpdatedSubStateMachines: updatedStateMachine,
417
>
SubStateMachineTombstoneBatches: tombstones,
418
>
SignalRequestedIds: signalRequestedIds,
419
>
ExecutionInfo: executionInfo,
420
>
ExecutionState: mutableState.GetExecutionState(),
421
>
}
422
>
423
>
mutation = common.CloneProto(mutation)
424
>
workflow.SanitizeMutableStateMutation(mutation)
425
>
if err := common.DiscardUnknownProto(mutation); err != nil {
426
return nil, err
427
}
428
430
>
mutation.ExecutionInfo.SubStateMachinesByType = nil
431
>
mutation.ExecutionInfo.SubStateMachineTombstoneBatches = nil
432
>
return mutation, nil
433
}
434