# Class DesignerResponse OptimaJet.Workflow.Core.Designer.DesignerResponse Encapsulates the result of a Workflow Designer action and indicates whether the response contains an error. Namespace: [OptimaJet.Workflow.Core.Designer](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Designer/) ```csharp public class DesignerResponse ``` ## Constructors `public DesignerResponse(object result, bool hasError = false)` Initializes a new instance of the [DesignerResponse](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Designer/DesignerResponse/) class. ### Parameters | Name | Type | Description | | --- | --- | --- | | `result` | `Object` | The result returned by the Workflow Designer action. | | `hasError` | `Boolean` | A value indicating whether the response contains an error. | ## Properties `public object Result { get; }` Gets the result returned by the Workflow Designer action. `public bool HasError { get; }` Gets a value indicating whether the response contains an error. [Previous DesignerRequest](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Designer/DesignerRequest/) [Next IDesignerAction](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Designer/IDesignerAction/)