Example #1
0
        protected internal virtual void insertHistoricDecisionOutputInstances(IList <HistoricDecisionOutputInstance> outputs, string decisionInstanceId)
        {
            foreach (HistoricDecisionOutputInstance output in outputs)
            {
                HistoricDecisionOutputInstanceEntity outputEntity = (HistoricDecisionOutputInstanceEntity)output;
                outputEntity.DecisionInstanceId = decisionInstanceId;

                DbEntityManager.insert(outputEntity);
            }
        }
Example #2
0
 protected internal virtual void fetchVariableValue(HistoricDecisionOutputInstanceEntity decisionOutputInstance, bool isCustomObjectDeserializationEnabled)
 {
     try
     {
         decisionOutputInstance.getTypedValue(isCustomObjectDeserializationEnabled);
     }
     catch (Exception t)
     {
         // do not fail if one of the variables fails to load
         LOG.failedTofetchVariableValue(t);
     }
 }