/** * Returns the subflow output map. This will invoke the output mapper (if any) to map data available in the flow * execution request context into a newly created empty map. */ protected LocalAttributeMap<Object> createSessionOutput(RequestContext context) { LocalAttributeMap<Object> output = new LocalAttributeMap<>(); if (outputMapper != null) { MappingResults results = outputMapper.map(context, output); if (results != null && results.hasErrorResults()) { throw new FlowOutputMappingException(getOwner().getId(), getId(), results); } } return output; }
/** * Returns the subflow output map. This will invoke the output mapper (if any) to map data available in the flow * execution request context into a newly created empty map. */ protected LocalAttributeMap<Object> createSessionOutput(RequestContext context) { LocalAttributeMap<Object> output = new LocalAttributeMap<>(); if (outputMapper != null) { MappingResults results = outputMapper.map(context, output); if (results != null && results.hasErrorResults()) { throw new FlowOutputMappingException(getOwner().getId(), getId(), results); } } return output; }
/** * Returns the subflow output map. This will invoke the output mapper (if any) to map data available in the flow * execution request context into a newly created empty map. */ protected LocalAttributeMap createSessionOutput(RequestContext context) { LocalAttributeMap output = new LocalAttributeMap(); if (outputMapper != null) { MappingResults results = outputMapper.map(context, output); if (results != null && results.hasErrorResults()) { throw new FlowOutputMappingException(getOwner().getId(), getId(), results); } } return output; }