# Class GetFormResult OptimaJet.Workflow.Plugins.FormsPlugin.GetFormResult Represents the result of an attempt to retrieve a form. Namespace: [OptimaJet.Workflow.Plugins.FormsPlugin](https://api.workflowengine.io/forms-plugin/OptimaJet.Workflow.Plugins.FormsPlugin/) ```csharp public sealed class GetFormResult : OneOfBase, IOneOf ``` ## Type Hierarchy - [OneOfBase](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Utils.OneOf/OneOfBase-T0-T1/) - GetFormResult Current type - Implemented interfaces - [IOneOf](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Utils.OneOf/IOneOf/) ## Properties `public ResultType ResultType { get; }` The result type, i.e., success, or error. `public bool IsSuccess { get; }` True if the operation was successful. `public bool IsSystemError { get; }` True if the operation failed due to an error. `public GetFormSuccess AsSuccess { get; }` Casts the operation result as a success result. `public SystemError AsSystemError { get; }` Casts the operation result as an error result. `public GetFormSuccess? Success { get; }` Returns the success result if it is successful; otherwise, returns null. `public SystemError? SystemError { get; }` Returns the error result if the operation is not successful; otherwise, returns null. ## Methods `public static implicit operator GetFormResult(SystemError systemError)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `systemError` | `SystemError` | | ### Returns | Type | Description | | --- | --- | | `GetFormResult` | | `public static implicit operator GetFormResult(GetFormSuccess getFormSuccess)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `getFormSuccess` | `GetFormSuccess` | | ### Returns | Type | Description | | --- | --- | | `GetFormResult` | | `public static explicit operator GetFormSuccess(GetFormResult getFormResult)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `getFormResult` | `GetFormResult` | | ### Returns | Type | Description | | --- | --- | | `GetFormSuccess` | | `public static explicit operator SystemError(GetFormResult getFormResult)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `getFormResult` | `GetFormResult` | | ### Returns | Type | Description | | --- | --- | | `SystemError` | | [Previous GetFormParameters](https://api.workflowengine.io/forms-plugin/OptimaJet.Workflow.Plugins.FormsPlugin/GetFormParameters/) [Next GetFormSuccess](https://api.workflowengine.io/forms-plugin/OptimaJet.Workflow.Plugins.FormsPlugin/GetFormSuccess/)