@@ -2600,14 +2600,16 @@ message DescribeWorkerResponse {
26002600message PauseWorkflowExecutionRequest {
26012601 // Namespace of the workflow to pause.
26022602 string namespace = 1 ;
2603- // Execution info of the workflow to pause.
2604- temporal.api.common.v1.WorkflowExecution workflow_execution = 2 ;
2603+ // ID of the workflow execution to be paused. Required.
2604+ string workflow_id = 2 ;
2605+ // Run ID of the workflow execution to be paused. Optional. If not provided, the current run of the workflow will be paused.
2606+ string run_id = 3 ;
26052607 // The identity of the client who initiated this request.
2606- string identity = 3 ;
2608+ string identity = 4 ;
26072609 // Reason to pause the workflow execution.
2608- string reason = 4 ;
2610+ string reason = 5 ;
26092611 // A unique identifier for this pause request for idempotence. Typically UUIDv4.
2610- string request_id = 5 ;
2612+ string request_id = 6 ;
26112613}
26122614
26132615// Response to a successful PauseWorkflowExecution request.
@@ -2616,14 +2618,16 @@ message PauseWorkflowExecutionResponse { }
26162618message UnpauseWorkflowExecutionRequest {
26172619 // Namespace of the workflow to unpause.
26182620 string namespace = 1 ;
2619- // Execution info of the workflow to unpause.
2620- temporal.api.common.v1.WorkflowExecution workflow_execution = 2 ;
2621+ // ID of the workflow execution to be paused. Required.
2622+ string workflow_id = 2 ;
2623+ // Run ID of the workflow execution to be paused. Optional. If not provided, the current run of the workflow will be paused.
2624+ string run_id = 3 ;
26212625 // The identity of the client who initiated this request.
2622- string identity = 3 ;
2626+ string identity = 4 ;
26232627 // Reason to unpause the workflow execution.
2624- string reason = 4 ;
2628+ string reason = 5 ;
26252629 // A unique identifier for this unpause request for idempotence. Typically UUIDv4.
2626- string request_id = 5 ;
2630+ string request_id = 6 ;
26272631}
26282632
26292633// Response to a successful UnpauseWorkflowExecution request.
0 commit comments