# Class ProcessDisplayedState OptimaJet.Workflow.Core.Designer.ProcessDisplayedState Represents the state of a process displayed in the designer. Namespace: [OptimaJet.Workflow.Core.Designer](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Designer/) ```csharp public class ProcessDisplayedState ``` ## Type Hierarchy - ProcessDisplayedState Current type - [ProcessTreeDisplayedState](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Designer/ProcessTreeDisplayedState/) ## Properties `public Guid ProcessId { get; init; }` Gets or initializes the identifier of the process whose state is displayed. `public ImmutableList ProcessParameters { get; init; }` Gets or initializes the [ParameterDefinitionWithValue](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Model/ParameterDefinitionWithValue/) instances containing the process parameter definitions and their current values. `public ImmutableList ProcessHistory { get; init; }` Gets or initializes the [ProcessHistoryItem](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/ProcessHistoryItem/) instances included on the page identified by [ProcessDisplayedState.CurrentPage](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Designer/ProcessDisplayedState/). `public int CurrentPage { get; }` Gets the current process history page number. The value is always `1`. `public int LastPage { get; init; }` Gets or initializes the number of the last available process history page. `public int ProcessHistoryCount { get; init; }` Gets or initializes the total number of process history entries across all pages. `public ImmutableList ProcessTimers { get; init; }` Gets or initializes the [ProcessTimer](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Runtime/ProcessTimer/) instances associated with the process. ## Methods `public ProcessTreeDisplayedState ToProcessAndSubprocessesDisplayedState()` Creates a [ProcessTreeDisplayedState](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Designer/ProcessTreeDisplayedState/) containing this process state. ### Returns | Type | Description | | --- | --- | | `ProcessTreeDisplayedState` | A new [ProcessTreeDisplayedState](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Designer/ProcessTreeDisplayedState/) populated from [ProcessDisplayedState.ProcessId](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Designer/ProcessDisplayedState/), [ProcessDisplayedState.ProcessParameters](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Designer/ProcessDisplayedState/), [ProcessDisplayedState.ProcessHistory](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Designer/ProcessDisplayedState/), [ProcessDisplayedState.LastPage](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Designer/ProcessDisplayedState/), [ProcessDisplayedState.ProcessHistoryCount](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Designer/ProcessDisplayedState/), and [ProcessDisplayedState.ProcessTimers](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Designer/ProcessDisplayedState/). | ## Remarks This type is intended for designer infrastructure and may change in future versions. [Previous ParsedType.ArrayDimension](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Designer/ParsedType.ArrayDimension/) [Next ProcessDisplayedStateGenerator](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Designer/ProcessDisplayedStateGenerator/)