Issue #5569 done. Added document number to docflows