We can't guarantee a specific workflow, since journals will differ a lot; however, there are valid cases where content is available to external systems before it's published -- e.g. preprints, author archiving in institutional repositories, via reports generated and used by people internal to the journal, etc.