1460
targetWorkflowID string,
1461
targetRunID string,
1463
>
return t.updateWorkflowExecution(ctx, wfContext, true,
1464
>
func(mutableState historyi.MutableState) error {
1465
>
if !mutableState.IsWorkflowExecutionRunning() {
1466
return consts.ErrWorkflowCompleted
1467
}
1468
1470
>
if !ok {
1471
return workflow.ErrMissingRequestCancelInfo
1472
}
1473
1475
>
task.InitiatedEventID,
1476
>
targetNamespace,
1477
>
targetNamespaceID,
1478
>
targetWorkflowID,
1479
>
targetRunID,
1480
>
)
1481
>
return err
1482
})
1483
}