Get Number Of Steps
- 06 Jan 2023
- 1 Minute to read
- Print
- DarkLight
Get Number Of Steps
- Updated on 06 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 | System > Advanced > Debugger |
The Get Number Of Steps step returns the number of steps in the debugged Flow.
Properties
Inputs
Property | Description | Data Type |
---|---|---|
Debug Id | The Debug ID can be extracted from the Debug Report Page of a particular Flow by adding the Parent ID field to this Report. | String |
Outputs
Property | Description | Data Type |
---|---|---|
Output | Number of Flows | Int32 |
Example Inputs and Outputs
Common Errors
Debug entity with id = 'xxxxxxxxx' not found
If the Id is not entered correctly, an error will occur.
To correct this, change the length or the starting index not to exceed the input's length.
Exception Message:
Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Get Number Of Steps 1[GetNumberOfSteps] in flow [Flow 1]: Exception invoking method GetNumberOfSteps on class DebuggerSteps
---> DecisionsFramework.LoggedException: Exception invoking method GetNumberOfSteps on class DebuggerSteps
---> System.InvalidOperationException: Debug entity with id = '10F367FB0D8C443308FDF' not found. at DecisionsFramework.Design.Flow.Service.Debugging.DebugData.DebugDataStorage.Retrieve(String id, Boolean failIfNotFound
at DecisionsFramework.Design.Flow.Service.Debugging.DebugData.DebuggerSteps.GetNumberOfSteps(String debugId)
--- 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?