# Class UploadBpmnAction OptimaJet.Workflow.BpmnPlugin.DesignerActions.UploadBpmnAction Represents an action to upload and process a BPMN file within a workflow designer context. Namespace: [OptimaJet.Workflow.BpmnPlugin.DesignerActions](https://api.workflowengine.io/bpmn-plugin/OptimaJet.Workflow.BpmnPlugin.DesignerActions/) ```csharp public class UploadBpmnAction : IDesignerAction ``` ## Type Hierarchy - UploadBpmnAction Current type - Implemented interfaces - [IDesignerAction](https://api.workflowengine.io/core/OptimaJet.Workflow.Core.Designer/IDesignerAction/) ## Constructors `public UploadBpmnAction(BpmnConverter bpmnConverter)` ### Parameters | Name | Type | Description | | --- | --- | --- | | `bpmnConverter` | `BpmnConverter` | | ## Properties `public WorkflowRuntime? WorkflowRuntime { get; set; }` ## Methods `public Task ExecuteDesignerApi(DesignerRequest designerRequest)` Handles the custom Workflow Designer operation described by `designerRequest`. ### Parameters | Name | Type | Description | | --- | --- | --- | | `designerRequest` | `DesignerRequest` | The DesignerRequest containing the operation context and input data. | ### Returns | Type | Description | | --- | --- | | `Task` | A [Task](https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1) whose result is serialized as the response to the Workflow Designer API request. | [Previous TerminateEventBuildStep](https://api.workflowengine.io/bpmn-plugin/OptimaJet.Workflow.BpmnPlugin.BuildSteps/TerminateEventBuildStep/) [Next UploadBpmnResponse](https://api.workflowengine.io/bpmn-plugin/OptimaJet.Workflow.BpmnPlugin.DesignerActions/UploadBpmnResponse/)