The Get Queue Items activity can only retrieve a max of 100 queue items at once. Query the Orchestrator queue by skip index (+100) and top index (100) to get all queue items by 100 for each iteration. Add the newly queried items to a collection of out_AllQueueItems.
The snippet retrieves all queue items without any filters even if the query result is more than 100 items. It helps the user to get items without the Get Queue Item activity quantity restriction.
The "Get Queue Items" can be modified to get items by priority, reference, status, date etc.
Important: Skip and Top properties should not be edited.