--- title: "Get All Rule Chain Inputs For Facts" slug: "get-all-rule-chain-inputs-for-facts" tags: ["Rule chains", "inputs", "facts"] updated: 2023-01-13T16:15:56Z published: 2023-01-13T16:15:56Z canonical: "documentation.decisions.com/get-all-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 All 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 All Rule Chain Inputs For Facts** step will return a list of data definitions for all 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" | 08daf3f0-bf22-3532-1f24-2216a00b00a5 | List of Data Definition for Result Fact | | Empty | Null | EXCEPTION MESSAGE | #### ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1673623753608.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 All Rule Chain Inputs For Facts 1[GetAllRuleChainInputsForFacts] in flow [Flow 1]: Exception invoking method GetAllRuleChainInputsForFacts on class RuleChainEngine ---> DecisionsFramework.LoggedException: Exception invoking method GetAllRuleChainInputsForFacts on class RuleChainEngine ---> System.ArgumentNullException: Value cannot be null. (Parameter 'source' at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument at System.Linq.Enumerable.Contains[TSource](IEnumerable`1 source, TSource value, IEqualityComparer`1 comparer at DecisionsFramework.Design.Flow.RuleChaining.RuleChainEngine.<>c__DisplayClass8_0.b__0(DataDescription d at System.Linq.Enumerable.WhereArrayIterator`1.ToArray( at DecisionsFramework.Design.Flow.RuleChaining.RuleChainEngine.GetAllRuleChainInputsForFacts(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 --- ``` ## 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)