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

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

        WorkflowTask workflowTask = taskMapperContext.getWorkflowTask();
        WorkflowModel workflowModel = taskMapperContext.getWorkflowModel();
        String taskId = taskMapperContext.getTaskId();

        TaskDef taskDefinition =
                Optional.ofNullable(taskMapperContext.getTaskDefinition())
                        .orElseGet(() -> metadataDAO.getTaskDef(workflowTask.getName()));

        Map<String, Object> taskInput =
                parametersUtils.getTaskInputV2(
                        taskMapperContext.getWorkflowTask().getInputParameters(),
                        workflowModel,
                        taskId,
                        taskDefinition);

        TaskModel lambdaTask = taskMapperContext.createTaskModel();
        lambdaTask.setTaskType(TaskType.TASK_TYPE_LAMBDA);
        lambdaTask.setStartTime(System.currentTimeMillis());
        lambdaTask.setInputData(taskInput);
        lambdaTask.setStatus(TaskModel.Status.IN_PROGRESS);

        return List.of(lambdaTask);
    }
@author x-ultra
@deprecated {@link com.netflix.conductor.core.execution.tasks.Lambda} is also deprecated. Use
    {@link com.netflix.conductor.core.execution.tasks.Inline} and so ${@link InlineTaskMapper}
    will be used as a result.
core/src/main/java/com/netflix/conductor/core/execution/mapper/LambdaTaskMapper.java