[workflow] [fix] workflow document state should exist in order to check for role that is allowed to edit the doc