@Override
    public List<TaskModel> getMappedTasks(TaskMapperContext taskMapperContext) {

        LOGGER.debug("TaskMapperContext {} in JoinTaskMapper", taskMapperContext);

        WorkflowTask workflowTask = taskMapperContext.getWorkflowTask();

        Map<String, Object> joinInput = new HashMap<>();
        joinInput.put("joinOn", workflowTask.getJoinOn());

        TaskModel joinTask = taskMapperContext.createTaskModel();
        joinTask.setTaskType(TaskType.TASK_TYPE_JOIN);
        joinTask.setTaskDefName(TaskType.TASK_TYPE_JOIN);
        joinTask.setStartTime(System.currentTimeMillis());
        joinTask.setInputData(joinInput);
        joinTask.setStatus(TaskModel.Status.IN_PROGRESS);

        return List.of(joinTask);
    }
This method maps {@link TaskMapper} to map a {@link WorkflowTask} of type {@link
TaskType#JOIN} to a {@link TaskModel} of type {@link TaskType#JOIN} with a status of {@link
TaskModel.Status#IN_PROGRESS}

@param taskMapperContext: A wrapper class containing the {@link WorkflowTask}, {@link
    WorkflowDef}, {@link WorkflowModel} and a string representation of the TaskId
@return A {@link TaskModel} of type {@link TaskType#JOIN} in a List
core/src/main/java/com/netflix/conductor/core/execution/mapper/JoinTaskMapper.java