Showing results for 
Search instead for 
Did you mean: 

Input error causes strange enqueue/dequeue behavior

Go to solution

I've attached a minimum working example that demonstrates that when the "error in" input is true for the enqueue function, an empty string element is enqueued.


Can anyone explain this behavior? I couldn't find anything in the documentation that explains that the error state has any effect on the enqueue function behavior.

0 Kudos
Message 1 of 2
Accepted by topic author rclary

Hello rclary,

When ever there is any error to input the enqueue function then enqueue function does not perform enqueueing.

If error to the input of the dequeue function, then it output default of value of the datatype of that has been defined using obtain queue, in your case string constant.





0 Kudos
Message 2 of 2