Get Rule Chain Inputs For Facts
  • 13 Jan 2023
  • 1 Minute to read
  • Dark
    Light

Get Rule Chain Inputs For Facts

  • Dark
    Light

Article summary

Step Details

Introduced in Version4.0.0
Last Modified in Version5.12.0
LocationDesigner Entities > Rule > Rule Chains

The Get Rule Chain Inputs For Facts step will return a list of data definitions for the Rule Chain inputs Facts. 



Properties

Inputs

PropertyDescriptionData Type
FactsThe desired Facts from the Rule ChainList of String
Rule Chain IdThe Id of the desired Rule ChainString

Outputs

PropertyDescriptionData Type
OutputList of information on the Rule Chain Fact InputsList of DataDescription

Example Inputs and Outputs

FactsRule Chain IdOutput
"Result"efaeae78-563a-4f14-bdb9-4b2d89fd40e5
List of Data Definition for Result Fact
EmptyNullEXCEPTION MESSAGE


Common Errors

Value cannot be null

If either input value is null or empty, an error will occur.

To correct this, ensure that the correct value is mapped or entered.

Exception Message:

Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Get Rule Chain Inputs For Facts 1[GetRuleChainInputsForFacts] in flow [Flow 1]: Exception invoking method GetRuleChainInputsForFacts on class RuleChainEngine
 ---> DecisionsFramework.LoggedException: Exception invoking method GetRuleChainInputsForFacts on class RuleChainEngine
 ---> System.ArgumentNullException: Value cannot be null. (Parameter 'key'
 at System.ThrowHelper.ThrowArgumentNullException(String name
 at System.Collections.Concurrent.ConcurrentDictionary`2.TryGetValue(TKey key, TValue& value
 at DecisionsFramework.Data.Caching.Implementations.MemoryCacheImpl`1.DoGet(String id
 at DecisionsFramework.Data.Caching.Interface.BaseCacheImpl`1.Get(Type type, String id
 at DecisionsFramework.Data.Caching.Interface.BaseCacheImpl`1.Get(String id
 at DecisionsFramework.Design.Flow.RuleChaining.RuleChainEngine.GetInputsForFacts(String ruleChainId, String key
 at DecisionsFramework.Design.Flow.RuleChaining.RuleChainEngine.GetRuleChainInputsForFacts(String ruleChainId, String[] facts)
   --- End of inner exception stack trace --- at DecisionsFramework.Design.Flow.StepImplementations.InvokeMethodStep.Run(StepStartData data
 at DecisionsFramework.Design.Flow.FlowStep.RunStepInternal(String flowTrackingID, String stepTrackingID, KeyValuePairDataStructure[] stepRunDataValues, AbstractFlowTrackingData trackingData
 at DecisionsFramework.Design.Flow.FlowStep.Start(String flowTrackingID, String stepTrackingID, FlowStateData data, AbstractFlowTrackingData trackingData, RunningStepData currentStepData)
   --- End of inner exception stack trace ---

Was this article helpful?