--- title: "Delete Queue" slug: "delete-queue" updated: 2025-08-20T14:52:22Z published: 2025-08-20T14:52:22Z canonical: "documentation.decisions.com/delete-queue" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Delete Queue | Step Details | | --- | | **Introduced in Version** | 3.0.0 | | **Last Modified in Version** | 7.15.0 | | **Location** | Integration > MSMQ | The **Delete Queue** step is used to remove a previously created queue. ### Prerequisites - This step requires the [MSMQ](https://documentation.decisions.com/docs/msmq) module to be [installed](https://documentation.decisions.com/docs/installing-modules-decisions) before it will be available in the toolbox. - A [dependency](https://documentation.decisions.com/docs/project-dependencies) must be created after installing the module in order for the the steps to be properly used. --- ## Properties #### Inputs | Property | Description | Data Type | | --- | --- | --- | | Path Queue | Intended path of the preexisting queue to delete. | String | #### ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2025-08-20_09h37_42.png) --- ## Common Errors ### Failed to Delete Queue By Path If the inputted queue path does not lead to an existing queue, the step will cause an error. To correct this, change the inputted Path Queue to reflect the path of the queue intended to delete. #### Exception Message: ```csharp DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Delete Queue 1[DeleteQueue] in flow [Step Library Flow]: Exception invoking method DeleteQueue on class MSMQSteps ---> DecisionsFramework.LoggedException: Exception invoking method DeleteQueue on class MSMQSteps ---> DecisionsFramework.LoggedException: Failed to delete queue by path: localhost/queue ---> System.ArgumentException: Path syntax is invalid. at Experimental.System.Messaging.MessageQueue.Delete(String path) at Decisions.Messaging.MSMQ.MSMQSteps.DeleteQueue(String pathQueue) --- End of inner exception stack trace --- at Decisions.Messaging.MSMQ.MSMQSteps.DeleteQueue(String pathQueue) at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor) at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr) --- End of inner exception stack trace --- at DecisionsFramework.Design.Flow.StepImplementations.InvokeMethodStep.Run(StepStartData data) at DecisionsFramework.Design.Flow.FlowStep.RunStepInternal(String flowTrackingID, String stepTrackingID, KeyValuePairDataStructure[] stepRunDataValues, AbstractFlowTrackingData trackingData) at DecisionsFramework.Design.Flow.FlowStep.Start(String flowTrackingID, String stepTrackingID, FlowStateData data, AbstractFlowTrackingData trackingData, RunningStepData currentStepData) --- End of inner exception stack trace --- ``` --- Related Information Related Articles: [MSMQ Module](https://documentation.decisions.com/docs/msmq) [About Messaging](https://documentation.decisions.com/docs/about-messaging)