}
}
}
void handleChildWorkflowExecutionStarted(HistoryEvent event) {
ChildWorkflowExecutionStartedEventAttributes attributes = event.getChildWorkflowExecutionStartedEventAttributes();
WorkflowExecution execution = attributes.getWorkflowExecution();
String workflowId = execution.getWorkflowId();
decisions.handleChildWorkflowExecutionStarted(event);
OpenRequestInfo<StartChildWorkflowReply, WorkflowType> scheduled = scheduledExternalWorkflows.get(workflowId);
if (scheduled != null) {
String runId = attributes.getWorkflowExecution().getRunId();
Settable<StartChildWorkflowReply> result = scheduled.getResult();
if (!result.isReady()) {
String description = "startChildWorkflow workflowId=" + workflowId + ", runId=" + runId;
result.set(new StartChildWorkflowReplyImpl(runId, description));
}