Esempio n. 1
0
        protected internal virtual void insertHistoricDecisionInputInstances(IList <HistoricDecisionInputInstance> inputs, string decisionInstanceId)
        {
            foreach (HistoricDecisionInputInstance input in inputs)
            {
                HistoricDecisionInputInstanceEntity inputEntity = (HistoricDecisionInputInstanceEntity)input;
                inputEntity.DecisionInstanceId = decisionInstanceId;

                DbEntityManager.insert(inputEntity);
            }
        }
Esempio n. 2
0
 protected internal virtual void fetchVariableValue(HistoricDecisionInputInstanceEntity decisionInputInstance, bool isCustomObjectDeserializationEnabled)
 {
     try
     {
         decisionInputInstance.getTypedValue(isCustomObjectDeserializationEnabled);
     }
     catch (Exception t)
     {
         // do not fail if one of the variables fails to load
         LOG.failedTofetchVariableValue(t);
     }
 }