Have Questions?  Need Expert Answers?  JOIN LUNCH N' LEARNS!

Queue Exists

Prev Next
Step Details
Introduced in Version3.0.0
Last Modified in Version7.15.0
LocationIntegration > MSMQ

The Queue Exists step is used to check if a queue exists.

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

PropertyDescriptionData Type
Path QueuePath to the queue to check for existence.String


Common Errors

Path Syntax is Invalid

If the inputted value for Path Queue is not correctly formatted, the step will cause an error.

To correct this, change the value to be appropriately formatted.

Exception Message:

DecisionsFramework.Design.Flow.ErrorRunningFlowStep: Error running step Queue Exists 1[QueueExists] in flow [Step Library Flow]: Exception invoking method QueueExists on class MSMQSteps
 ---> DecisionsFramework.LoggedException: Exception invoking method QueueExists on class MSMQSteps
 ---> System.ArgumentException: Path syntax is invalid. at Experimental.System.Messaging.MessageQueue.Exists(String path)
 at Decisions.Messaging.MSMQ.MSMQSteps.QueueExists(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

About Messaging