public TaskModel createTaskModel() {
        TaskModel taskModel = new TaskModel();
        taskModel.setReferenceTaskName(workflowTask.getTaskReferenceName());
        taskModel.setWorkflowInstanceId(workflowModel.getWorkflowId());
        taskModel.setWorkflowType(workflowModel.getWorkflowName());
        taskModel.setCorrelationId(workflowModel.getCorrelationId());
        taskModel.setScheduledTime(System.currentTimeMillis());

        taskModel.setTaskId(taskId);
        taskModel.setWorkflowTask(workflowTask);
        taskModel.setWorkflowPriority(workflowModel.getPriority());

        // the following properties are overridden by some TaskMapper implementations
        taskModel.setTaskType(workflowTask.getType());
        taskModel.setTaskDefName(workflowTask.getName());
        return taskModel;
    }
Business Object class used for interaction between the DeciderService and Different Mappers
core/src/main/java/com/netflix/conductor/core/execution/mapper/TaskMapperContext.java