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.