use flowchart and get queueitems ,take count of queue items ,use flow decision where count should be greater than 0 then true side delete queue item .connect delete queue to get queue so it will check again in get queue items until queue is zero
use flowchart and get queueitems ,take count of queue items ,use flow decision where count should be greater than 0 then true side delete queue item .connect delete queue to get queue so it will check again in get queue items until queue is zero