Get Fact Names From Rule Chain
- 11 Jan 2023
- 1 Minute to read
- Print
- DarkLight
Get Fact Names From Rule Chain
- Updated on 11 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 Fact Names From Rule Chain step will display data with the fact names of the specified Rule Chain Id input.
Properties
Inputs
Property | Description | Data Type |
---|---|---|
Rule Chain Id | The desired Rule Chain Id | String |
Outputs
Property | Description | Data Type |
---|---|---|
Output | List of the fact names from the Rule Chain Id | List of String |
Example Inputs and Outputs
Rule Chain Id | Output |
---|---|
1c76053c-7de0-4880-89fd-473ce9e2de24 | "Result", "NotSuppliedInputs" |
Null Value | EXCEPTION MESSAGE |
Empty String | EXCEPTION MESSAGE |
Common Errors
Value cannot be null
If the Rule Chain Id is null, an error will occur.
To correct this, ensure that the Id is entered or mapped correctly.
Exception Message:
Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Get Fact Names From Rule Chain 1[GetFactNamesFromRuleChain] in flow [Flow 12]: Exception invoking method GetFactNamesFromRuleChain on class RuleChainEngine
---> DecisionsFramework.LoggedException: Exception invoking method GetFactNamesFromRuleChain 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.FlowEngine.GetFlowFromCache(String flowId
at DecisionsFramework.Design.Flow.FlowEngine.LoadFlowByID(FlowLoadParameters flowLoadParameters
at DecisionsFramework.Design.Flow.RuleChaining.RuleChainEngine.GetFactsFromRuleChain(String ruleChainId
at DecisionsFramework.Design.Flow.RuleChaining.RuleChainEngine.GetFactNamesFromRuleChain(String ruleChainId)
--- 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 ---
[BusinessRule] Flow not found
If the Rule Chain Id is empty, an error will occur.
To correct this, ensure that the Id is mapped or entered correctly.
Exception Message:
Exception Stack Trace: DecisionsFramework.BusinessRuleException: [BusinessRule] Flow not found at DecisionsFramework.Design.Flow.FlowEngine.LoadFlowByID(FlowLoadParameters flowLoadParameters
at DecisionsFramework.Design.Flow.RuleChaining.RuleChainEngine.GetFactsFromRuleChain(String ruleChainId
at DecisionsFramework.Design.Flow.RuleChaining.RuleChainEngine.GetFactNamesFromRuleChain(String ruleChainId)
Was this article helpful?