# Class PreExecutionActivity OptimaJet.Workflow.Api.Models.PreExecutionActivity Pre Execution Activity. Namespace: [OptimaJet.Workflow.Api.Models](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/) ```csharp public record PreExecutionActivity : IEquatable ``` ## Type Hierarchy - PreExecutionActivity Current type - Implemented interfaces - [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1) ## Constructors ### `[JsonConstructor] [JsonConstructor] public PreExecutionActivity(string name, string state, string localizedState, List transitions)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `name` | `String` | | | `state` | `String` | | | `localizedState` | `String` | | | `transitions` | `List` | | ## Properties ### `public string Name { get; init; }` Gets the name value. ### `public string State { get; init; }` Gets the state value. ### `public bool IsCurrent { get; init; }` Gets the is current value. ### `public bool IsFinal { get; init; }` Gets the is final value. ### `public bool IsInitial { get; init; }` Gets the is initial value. ### `public int? SubprocessLevel { get; init; }` Gets the subprocess level value. ### `public string LocalizedState { get; init; }` Gets the localized state value. ### `public List Transitions { get; init; }` Gets the transitions value. [Previous PreExecuteResponse](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/PreExecuteResponse/) [Next PreExecutionTransition](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/PreExecutionTransition/)