public virtual object mapDecisionResult(DmnDecisionResult decisionResult) { try { DmnDecisionResultEntries singleResult = decisionResult.SingleResult; if (singleResult != null) { return(singleResult.EntryMap); } else { return(Variables.untypedNullValue()); } } catch (DmnEngineException e) { throw LOG.decisionResultMappingException(decisionResult, this, e); } }
public virtual object mapDecisionResult(DmnDecisionResult decisionResult) { try { TypedValue typedValue = decisionResult.SingleEntryTyped; if (typedValue != null) { return(typedValue); } else { return(Variables.untypedNullValue()); } } catch (DmnEngineException e) { throw LOG.decisionResultMappingException(decisionResult, this, e); } }