Using workflow management for smooth handling of legal warrants