In library it doesn't validate for wrong queue name

For library I have used this function for writing it in descending order.

After using this function it is giving error in Reframework Application closed gracefully. Only for this exception “Null Queue name or Wrong queue name” Im unable to validate, previously it used to validate “QueueName does not exist”

After adding above expression it is getting faulted. Inside Library it is working fine but after publishing it to RE it is giving an error.

I have also added If Queueitem is Nothing.

Hi @BHUSHAN_NAGAONKAR1

Can you please check in Config File whether you are given or not

1 Like

Scenario is that if someone doesn’t write the right Queue Name it should log queuename does not exist

Thankyou

@BHUSHAN_NAGAONKAR1

Please Check weather you create your queue in orchestrator

No the queue itself won’t be present and the library should log the exception “Queue does not exist”

@BHUSHAN_NAGAONKAR1

DId you try this to validate

quls IS Nothing OrElse quls.Count=0

cheers

1 Like

I tried “IsNothing” will try second one and let you know

Thankyou

1 Like




The above is my flow for system exception I have written not nothing in catch block
For “WrongQueueName” written in another catch “Exception.Contains.Message”

I have used do while to get all the value above 100 in get queue item.