Get Steps For Outcome
- 11 Jan 2023
- 1 Minute to read
- Print
- DarkLight
Get Steps For Outcome
- Updated on 11 Jan 2023
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Step Details | |
Introduced in Version | 4.0.0 |
Last Modified in Version | 5.12.0 |
Location | Designer 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
Property | Description | Data Type |
---|---|---|
Facts | Defines the desired facts from the Rule Chain | List of String |
Rule Chain Id | The desired Rule Chain Id | String |
Outputs
Property | Description | Data Type |
---|---|---|
Output | Outputs the Flow, Step, and Output information of the Rule Chain | List of |
Example Inputs and Outputs
Rule Chain Id | Facts | Output |
---|---|---|
Null | "Result", "Basic" | EXCEPTION MESSAGE |
08daf3f0-bf22-3532-1f24-2216a00b00a5 | Empty | EXCEPTION 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?