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 module to be installed before it will be available in the toolbox.
- A dependency 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 |
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:
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: