# Class ProcessModel OptimaJet.Workflow.Api.Models.ProcessModel Process Model. Namespace: [OptimaJet.Workflow.Api.Models](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/) ```csharp public record ProcessModel : IEquatable ``` ## Type Hierarchy - ProcessModel Current type - Implemented interfaces - [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1) ## Constructors ### `public ProcessModel(Guid Id, string? StateName, string ActivityName, Guid? SchemeId, string? PreviousState, string? PreviousStateForDirect, string? PreviousStateForReverse, string? PreviousActivity, string? PreviousActivityForDirect, string? PreviousActivityForReverse, Guid? ParentProcessId, Guid RootProcessId, string? TenantId, string? StartingTransition, string? SubprocessName, DateTime CreationDate, DateTime? LastTransitionDate, string? CalendarName, string? LocalizedStateName = null, string? LocalizedPreviousState = null, string? LocalizedPreviousStateForDirect = null, string? LocalizedPreviousStateForReverse = null)` Process Model. ### Parameters | Name | Type | Description | | --- | --- | --- | | `Id` | `Guid` | The ID. | | `StateName` | `String` | The state name. | | `ActivityName` | `String` | The activity name. | | `SchemeId` | `Nullable` | The scheme ID. | | `PreviousState` | `String` | The previous state. | | `PreviousStateForDirect` | `String` | The previous state for direct transitions. | | `PreviousStateForReverse` | `String` | The previous state for reverse transitions. | | `PreviousActivity` | `String` | The previous activity. | | `PreviousActivityForDirect` | `String` | The previous activity for direct transitions. | | `PreviousActivityForReverse` | `String` | The previous activity for reverse transitions. | | `ParentProcessId` | `Nullable` | The parent process ID. | | `RootProcessId` | `Guid` | The root process ID. | | `TenantId` | `String` | The tenant ID. | | `StartingTransition` | `String` | The starting transition. | | `SubprocessName` | `String` | The subprocess name. | | `CreationDate` | `DateTime` | The creation date. | | `LastTransitionDate` | `Nullable` | The last transition date. | | `CalendarName` | `String` | The calendar name. | | `LocalizedStateName` | `String` | The state name localized using the request culture. | | `LocalizedPreviousState` | `String` | The previous state localized using the request culture. | | `LocalizedPreviousStateForDirect` | `String` | The previous state for direct transitions localized using the request culture. | | `LocalizedPreviousStateForReverse` | `String` | The previous state for reverse transitions localized using the request culture. | ## Properties ### `public Guid Id { get; init; }` The ID. ### `public string? StateName { get; init; }` The state name. ### `public string ActivityName { get; init; }` The activity name. ### `public Guid? SchemeId { get; init; }` The scheme ID. ### `public string? PreviousState { get; init; }` The previous state. ### `public string? PreviousStateForDirect { get; init; }` The previous state for direct transitions. ### `public string? PreviousStateForReverse { get; init; }` The previous state for reverse transitions. ### `public string? PreviousActivity { get; init; }` The previous activity. ### `public string? PreviousActivityForDirect { get; init; }` The previous activity for direct transitions. ### `public string? PreviousActivityForReverse { get; init; }` The previous activity for reverse transitions. ### `public Guid? ParentProcessId { get; init; }` The parent process ID. ### `public Guid RootProcessId { get; init; }` The root process ID. ### `public string? TenantId { get; init; }` The tenant ID. ### `public string? StartingTransition { get; init; }` The starting transition. ### `public string? SubprocessName { get; init; }` The subprocess name. ### `public DateTime CreationDate { get; init; }` The creation date. ### `public DateTime? LastTransitionDate { get; init; }` The last transition date. ### `public string? CalendarName { get; init; }` The calendar name. ### `public string? LocalizedStateName { get; init; }` The state name localized using the request culture. ### `public string? LocalizedPreviousState { get; init; }` The previous state localized using the request culture. ### `public string? LocalizedPreviousStateForDirect { get; init; }` The previous state for direct transitions localized using the request culture. ### `public string? LocalizedPreviousStateForReverse { get; init; }` The previous state for reverse transitions localized using the request culture. [Previous ProcessItemRequest](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/ProcessItemRequest/) [Next ProcessNamedBodyRequest](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/ProcessNamedBodyRequest-TRequest/)