At my company the Results output from failed workflows start to clog the MongoDB. As per design it seems that Alteryx Server retains all failed jobs in the Queue and Results collections even when we tell the server to keep run history and results for x days. I know the information can be cleared by deleting the Job history from the Gallery but this can only be done 1 by 1 and we have literally thousands of entries now in the MongoDB.
Has anyone found a method to clean-up the Queue and Results collections, either for old failed jobs or come to an entirely blank slate (eg remove all Results after a backup)?