--- title: "Set Sub State Color" slug: "set-sub-state-color" tags: ["sub state", "Colors"] updated: 2023-01-31T16:21:34Z published: 2023-01-31T16:21:34Z canonical: "documentation.decisions.com/set-sub-state-color" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Set Sub State Color | ## Step Details | | --- | | **Introduced in Version** | 4.0.0 | | **Last Modified in Version** | 5.12.0 | | **Location** | Flow Management > Data > Sub State | The **Set Sub State Color** step allows users to set the Sub State display color when on the Process View Page. --- ## Properties #### Inputs | Property | Description | Data Type | | --- | --- | --- | | Color | Sets the color of the Sub State | DesignerColor | | State | The State associated with the Sub State | String | | Sub State | The desired Sub State | String | --- #### ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1674586855113.png) --- ## Common Errors ### State not found If the State input is null, empty, or not correctly specified, the step will cause an error. To correct this, ensure that the State is specified. #### Exception Message: ```csharp Exception Stack Trace: DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Set Sub State Color 1[SetSubStateColor] in flow [Example]: Exception invoking method SetSubStateColor on class SubStateSteps ---> DecisionsFramework.LoggedException: Exception invoking method SetSubStateColor on class SubStateSteps ---> DecisionsFramework.LoggedException: State not found / at DecisionsFramework.Design.Flow.CoreSteps.SubStateSteps.SetSubStateColor(String state, String subState, 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 Documentation: [Creating a Process Folder](https://documentation.decisions.com/docs/creating-a-process-folder) [Using Process Folders](https://documentation.decisions.com/docs/using-process-folders) ## Related - [Complete Sub State](/complete-sub-state.md) - [Add Expected Sub State](/add-expected-sub-state.md) - [Add File To Sub State](/add-file-to-sub-state.md)