--- title: "Get Rule Chain Inputs For Facts" slug: "get-rule-chain-inputs-for-facts" updated: 2023-01-13T16:19:01Z published: 2023-01-13T16:19:01Z canonical: "documentation.decisions.com/get-rule-chain-inputs-for-facts" --- > ## 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 Rule Chain Inputs For Facts | ## 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 | #### ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1673626573869.png) --- ## 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: ```csharp 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 --- ```