Add Expected State
- 18 Jan 2023
- 1 Minute to read
- Print
- DarkLight
Add Expected State
- Updated on 18 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 | 7.12.0 |
Location | Process |
The Add Expected State step adds for a new state to a Process folder. This state can then be reached using the Set State steps found under the same toolbox category.
Properties
Inputs
Property | Description | Data Type |
---|---|---|
Color | The color for the state as it will appear in the Process folder | DesignerColor |
State Name | The name of the state | Int32 |
Common Errors
Missing Process Folder
The step requires the use of a Process Folder within a Flow. If the following error is thrown, ensure that the Flow utilizes a Process Folder.
Exception Message:
Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Add Expected State 1[AddExpectedState] in flow [Testing Flow]: Exception invoking method AddExpectedState on class InfrastructureStepMethods ---> DecisionsFramework.LoggedException: Exception invoking method AddExpectedState on class InfrastructureStepMethods ---> DecisionsFramework.LoggedException: Cannot use step on flows without a process folder
at DecisionsFramework.Design.Flow.CoreSteps.InfrastructureStepMethods.AddExpectedState(String stateName, DesignerColor color)
--- 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 ---
Related Information
Articles:
Creating a Process Folder
Using Process Folders
Example Labs:
Add Comment to Process Folder
Adding New Data To A Process
Using a Flow Step Trigger to Remove the Complete Comment in Process Folders
Adding Line Spaces in Process Folder Comments
Saving Data Repeater Items in a Process Folder
Forum Posts:
Stuck On Process Folders And Data
System Comments In Process Folders
Was this article helpful?