# Class Scheme.Condition OptimaJet.Workflow.Api.Models.Scheme.Condition Condition. Namespace: [OptimaJet.Workflow.Api.Models](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/) ```csharp public record Scheme.Condition : IEquatable ``` ## Type Hierarchy - Scheme.Condition Current type - Implemented interfaces - [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1) ## Constructors ### `public Condition(string Type, Scheme.ActionReference? Action, string? Expression, bool? ResultOnPreExecution, bool ConditionInversion)` Condition. ### Parameters | Name | Type | Description | | --- | --- | --- | | `Type` | `String` | | | `Action` | `Scheme.ActionReference` | | | `Expression` | `String` | | | `ResultOnPreExecution` | `Nullable` | | | `ConditionInversion` | `Boolean` | | ## Properties ### `public string Type { get; init; }` ### `public Scheme.ActionReference? Action { get; init; }` ### `public string? Expression { get; init; }` ### `public bool? ResultOnPreExecution { get; init; }` ### `public bool ConditionInversion { get; init; }` [Previous Scheme.Comment](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/Scheme.Comment/) [Next Scheme.Designer](https://api.workflowengine.io/web-api/OptimaJet.Workflow.Api.Models/Scheme.Designer/)