}
}
public void mapSubflowOutput(AttributeMap<?> output, RequestContext context) {
if (outputMapper != null && output != null) {
MappingResults results = outputMapper.map(output, context);
if (results != null && results.hasErrorResults()) {
throw new FlowOutputMappingException(context.getActiveFlow().getId(),
context.getCurrentState().getId(), results);
}
}
}