Get All Rule Chain Inputs
  • 21 Feb 2023
  • 1 Minute to read
  • Dark
    Light

Get All Rule Chain Inputs

  • Dark
    Light

Article summary

Step Details

Introduced in Version4.0.0
Last Modified in Version5.12.0
LocationDesigner Entities > Rules > Rule Chains

The Get All Rule Chain Inputs step will display all the present data in the specified Rule Chain Id input.


Properties

Inputs

PropertyDescriptionData Type
Rule Chain IdThe desired Rule Chain IdString

Outputs

PropertyDescriptionData Type
OutputList of Inputs and Data Descriptions from Rule Chain List of DataDescription

Example Inputs and Outputs

Rule Chain IdOutput
NullEXCEPTION MESSAGE
EmptyEXCEPTION MESSAGE
08daf3f0-bf22-3532-1f24-2216a00b00a5
List of Inputs and Data Descriptions from Rule Chain


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 correctly mapped or entered. 

Exception Message:

Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Get All Rule Chain Inputs 1[GetAllRuleChainInputs] in flow [Flow 12]: Exception invoking method GetAllRuleChainInputs on class RuleChainEngine
 ---> DecisionsFramework.LoggedException: Exception invoking method GetAllRuleChainInputs 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.GetAllRuleChainInputs(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 entered or mapped 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.GetAllRuleChainInputs(String ruleChainId)



Was this article helpful?