Add Expected State With Sub States
  • 02 Feb 2023
  • 1 Minute to read
  • Dark
    Light

Add Expected State With Sub States

  • Dark
    Light

Article summary

Step Details

Introduced in Version4.0.0
Last Modified in Version5.12.0
Location Flow Management > Data > Sub State

The Add Expected State with Sub States step allows for Process folders or case entities to be configured with additional states and sub states.


Properties

Inputs

PropertyDescriptionData Type
ColorDefines the color for the state and sub statesDesignerColor
State NameThe desired State NameString
Sub StateThe substates to add with the stateList of String


Common Errors

Object reference not set to an instance of an object.

If the State Name or Sub States are empty or null, the step will cause an error.

To correct this, map or enter a value in the fields.

Exception Message:

Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Add Expected State With Sub States 1[AddExpectedStateWithSubStates] in flow [Flow 6]: Exception invoking method AddExpectedStateWithSubStates on class SubStateSteps
 ---> DecisionsFramework.LoggedException: Exception invoking method AddExpectedStateWithSubStates on class SubStateSteps
 ---> System.NullReferenceException: Object reference not set to an instance of an object. 
at DecisionsFramework.Design.Flow.CoreSteps.SubStateSteps.AddExpectedStateWithSubStates(String stateName, DesignerColor color, String[] subStates)
   --- 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?