Get Steps For Outcome
  • 11 Jan 2023
  • 1 Minute to read
  • Dark
    Light

Get Steps For Outcome

  • Dark
    Light

Article summary

Step Details

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

The Get Steps For Outcome step will display data on the Rule Chain and the Output and Input data.


Properties

Inputs

PropertyDescriptionData Type
FactsDefines the desired facts from the Rule ChainList of String
Rule Chain IdThe desired Rule Chain IdString

Outputs

PropertyDescriptionData Type
Output Outputs the Flow, Step, and Output information of the Rule ChainList of

Example Inputs and Outputs

Rule Chain IdFactsOutput
Null"Result", "Basic"EXCEPTION MESSAGE
08daf3f0-bf22-3532-1f24-2216a00b00a5
EmptyEXCEPTION MESSAGE
08daf3f0-bf22-3532-1f24-2216a00b00a5
"Result", "Basic", "Conclusion"Information on Rule Chain steps of the Facts


Common Errors

Value cannot be null

If either input value is null or empty, an error will occur.

To correct this, ensure that the value for the input is entered or mapped correctly.

Exception Message:

Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Get Steps For Outcome 1[GetStepsForOutcome] in flow [Flow 12]: Exception invoking method GetStepsForOutcome on class RuleChainEngine
 ---> DecisionsFramework.LoggedException: Exception invoking method GetStepsForOutcome 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__DisplayClass12_0.b__0(DataDescription dd
 at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate
 at DecisionsFramework.Design.Flow.RuleChaining.RuleChainEngine.GetStepsForOutcome(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 ---



Was this article helpful?