@Override
    public long getInProgressTaskCount(String taskDefName) {
        String inProgressKey = nsKey(TASKS_IN_PROGRESS_STATUS, taskDefName);
        recordRedisDaoRequests("getInProgressTaskCount");
        return jedisProxy.scard(inProgressKey);
    }
Stores the correlation of a task to the workflow instance in the datastore

@param taskId the taskId to be correlated
@param workflowInstanceId the workflowId to which the tasks belongs to
redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisExecutionDAO.java