public String startWorkflow(
            String name,
            Integer version,
            Map<String, Object> workflowInput,
            String externalInputPayloadStoragePath,
            String correlationId,
            String parentWorkflowId,
            String parentWorkflowTaskId,
            String event,
            Map<String, String> taskToDomain
    ) {
        WorkflowDef workflowDefinition = metadataMapperService.lookupForWorkflowDefinition(name, version);

        return startWorkflow(
                workflowDefinition,
                workflowInput,
                externalInputPayloadStoragePath,
                correlationId,
                parentWorkflowId,
                parentWorkflowTaskId,
                event,
                taskToDomain
        );
    }
public String startWorkflow ( String name , Integer version , Map < String , Object > workflowInput , String externalInputPayloadStoragePath , String correlationId , String parentWorkflowId , String parentWorkflowTaskId , String event , Map < String , String > taskToDomain ) { WorkflowDef workflowDefinition = metadataMapperService . lookupForWorkflowDefinition ( name , version ) ; return startWorkflow ( workflowDefinition , workflowInput , externalInputPayloadStoragePath , correlationId , parentWorkflowId , parentWorkflowTaskId , event , taskToDomain ) ; }
@throws ApplicationException