Get Number Of Steps
  • 06 Jan 2023
  • 1 Minute to read
  • Dark
    Light

Get Number Of Steps

  • Dark
    Light

Article Summary

Step Details

Introduced in Version4.0.0
Last Modified in Version5.12.0
LocationSystem > Advanced > Debugger

The Get Number Of Steps step returns the number of steps in the debugged Flow.



Properties

Inputs

PropertyDescriptionData Type
Debug IdThe 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

PropertyDescriptionData Type
OutputNumber of FlowsInt32

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?