public void pauseWorkflow ( String workflowId ) { Preconditions . checkArgument ( StringUtils . isNotBlank ( workflowId ) , "workflow id cannot be blank" ) ; stub . pauseWorkflow ( WorkflowServicePb . PauseWorkflowRequest . newBuilder ( ) . setWorkflowId ( workflowId ) . build ( ) ) ; }
Pause a workflow by workflow id