Each package brings its own, for articles for example CreateArticleMessage, ModifyArticleMessage and ApplyWorkflowTransitionArticleMessage. Wrap them in an Envelope with EnableFlushStamp, otherwise the DoctrineFlushMiddleware writes nothing to the database. Never write via SQL: routes, search index, cache and activities only follow when the change goes through Sulu.
Glossary Term
Message (message bus)
A command object such as CreateArticleMessage. In Sulu 3, pages and articles are changed only through messages on the sulu_message_bus.