Get Rule Chain Inputs For Facts
- 13 Jan 2023
- 1 Minute to read
- Print
- DarkLight
Get Rule Chain Inputs For Facts
- Updated on 13 Jan 2023
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Step Details | |
Introduced in Version | 4.0.0 |
Last Modified in Version | 5.12.0 |
Location | Designer 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
Property | Description | Data Type |
---|---|---|
Facts | The desired Facts from the Rule Chain | List of String |
Rule Chain Id | The Id of the desired Rule Chain | String |
Outputs
Property | Description | Data Type |
---|---|---|
Output | List of information on the Rule Chain Fact Inputs | List of DataDescription |
Example Inputs and Outputs
Facts | Rule Chain Id | Output |
---|---|---|
"Result" | efaeae78-563a-4f14-bdb9-4b2d89fd40e5 | List of Data Definition for Result Fact |
Empty | Null | EXCEPTION 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?