Mandamus can be appropriate where the office has a clear legal duty, the applicant has a corresponding legal interest, and the office has failed or refused to act without lawful justification.
Examples can involve licensing, registration, implementation of statutory duties or decisions that the authority is legally bound to make.