List Sub Contexts
  • 24 Jan 2023
  • 1 Minute to read
  • Dark
    Light

List Sub Contexts

  • Dark
    Light

Article Summary

Step Details

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

The List Sub Contexts step lists the Id of all sub contexts from the specified debugged Flow.



Properties

Inputs

PropertyDescriptionData Type
Debug IdThe Id of the debugged FlowString

Outputs

PropertyDescriptionData Type
OutputList of Ids of the sub contexts from the FlowList of String

Example Inputs and Outputs


Debug IdOutput
6b76ad9fab6b4b2680c3109c5e7a1a65_debug

"6b76ad9fab6b4b2680c3109c5e7a1a65_debug.606c8514-20b5-4073-918c-7f4d135fd4ce",

"6b76ad9fab6b4b2680c3109c5e7a1a65_debug.f936685f-9a41-4291-8434-bbed8ca326e2",

"6b76ad9fab6b4b2680c3109c5e7a1a65_debug:8d6d7b87-49a0-4817-a34e-a709b0b6b6ba",

"6b76ad9fab6b4b2680c3109c5e7a1a65_debug.6800b346-859d-4159-aef9-27c83b4a2675",

"6b76ad9fab6b4b2680c3109c5e7a1a65_debug.8ede1493-764a-4689-bbaf-691f0c65ecf7",

"6b76ad9fab6b4b2680c3109c5e7a1a65_debug.8e14c2c2-dbae-4f9c-b117-e135ad13ebf2"


NullEXCEPTION MESSAGE
EmptyEXCEPTION MESSAGE



Common Errors

Debug entity with id = ' ' not found

If the Debug Id is null or empty, the step will cause an error.

To correct this, enter or map a correct value to the field.

Exception Message:

Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step List Sub Contexts[ListSubContexts] in flow [Example]: Exception invoking method ListSubContexts on class DebuggerSteps
 ---> DecisionsFramework.LoggedException: Exception invoking method ListSubContexts on class DebuggerSteps
 ---> System.InvalidOperationException: Debug entity with id = '' not found. at DecisionsFramework.Design.Flow.Service.Debugging.DebugData.DebugDataStorage.Retrieve(String id, Boolean failIfNotFound
 at DecisionsFramework.Design.Flow.Service.Debugging.DebugData.DebuggerSteps.ListSubContexts(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?