Hello
I am getting data from the queue but whats happening once queue is empty its throwing an error. How can i avoid this
thanks
Hello
I am getting data from the queue but whats happening once queue is empty its throwing an error. How can i avoid this
thanks
Hi @khaled_emad ,
Can you specify which activity/operation is throwing the error?
Hello,
In get queue item. once the queue is empty its throwing error. how can i make a condition to avoid this please
Generally, the get queue items activity does not throw error if there aren’t any data present, it just returns a null value. However, if you want to check if there are any items present in the queue items variable, you can use the count function.
QueueItemsVariable.Count >0
Hi @khaled_emad ->USE TRY CATCH
Put Get Queue in Try Block
And in catch block select system exception
Put log message in try block and print message you want to print.
thanks All
@khaled_emad welcome. happy automation
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.