The lifecycle of a document defines the states the document can be in. It also defines the possible paths, called transitions, to go from one state to another. The lifecycle is useful to say a case is “created”, “being_processed”, “processed”, “archived”.