401
// noop
402
404
>
batch.Query(templateUpdateCurrentWorkflowExecutionForNewQuery,
405
>
runID,
406
>
newWorkflow.ExecutionStateBlob.Data,
407
>
newWorkflow.ExecutionStateBlob.EncodingType.String(),
408
>
lastWriteVersion,
409
>
newWorkflow.ExecutionState.State,
410
>
shardID,
411
>
rowTypeExecution,
412
>
namespaceID,
413
>
workflowID,
414
>
currentRecordRunID,
415
>
defaultVisibilityTimestamp,
416
>
rowTypeExecutionTaskID,
417
>
request.PreviousRunID,
418
>
request.PreviousLastWriteVersion,
419
>
enumsspb.WORKFLOW_EXECUTION_STATE_COMPLETED,
420
>
)
421
>
422
>
requestCurrentRunID = request.PreviousRunID
423
424
case p.CreateWorkflowModeBrandNew: