public void skipTaskFromWorkflow(String workflowId, String taskReferenceName) {
        Preconditions.checkArgument(
                StringUtils.isNotBlank(workflowId), "workflow id cannot be blank");
        Preconditions.checkArgument(
                StringUtils.isNotBlank(taskReferenceName), "Task reference name cannot be blank");
        stub.skipTaskFromWorkflow(
                WorkflowServicePb.SkipTaskRequest.newBuilder()
                        .setWorkflowId(workflowId)
                        .setTaskReferenceName(taskReferenceName)
                        .build());
    }
Skips a given task from a current RUNNING workflow

@param workflowId the id of the workflow instance
@param taskReferenceName the reference name of the task to be skipped
grpc-client/src/main/java/com/netflix/conductor/client/grpc/WorkflowClient.java