Add Expected State With Sub States
- 02 Feb 2023
- 1 Minute to read
- Print
- DarkLight
Add Expected State With Sub States
- Updated on 02 Feb 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 | 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
Property | Description | Data Type |
---|---|---|
Color | Defines the color for the state and sub states | DesignerColor |
State Name | The desired State Name | String |
Sub State | The substates to add with the state | List 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?