public Promise<String> startChildWorkflow(String workflow, String version, String input) { StartChildWorkflowExecutionParameters parameters = new StartChildWorkflowExecutionParameters(); WorkflowType workflowType = new WorkflowType().withName(workflow).withVersion(version); parameters.setWorkflowType(workflowType); parameters.setInput(input); Settable<StartChildWorkflowReply> reply = new Settable<StartChildWorkflowReply>(); Settable<String> result = new Settable<String>(); startChildWorkflow(parameters, reply, result); return result; }