--- title: "Get Fact Names From Rule Chain" slug: "get-fact-names-from-rule-chain" tags: ["facts", "Rule chains"] updated: 2023-01-11T19:40:40Z published: 2023-01-11T19:40:40Z canonical: "documentation.decisions.com/get-fact-names-from-rule-chain" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Get Fact Names From Rule Chain | ## 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 | #### ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1673464815407.png) --- ## 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: ```csharp 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: ```csharp 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) ``` ## Related - [Run Rule Chain](/run-rule-chain.md) - [Get All Rule Chain Inputs](/get-all-rule-chain-inputs.md) - [Get Facts From Rule Chain](/get-facts-from-rule-chain.md)