Hello Jorge,
I solved that issue with
Note 1826214 - Performance issue when starting TM document flow in ERP
Nevertheless, please check your SLD definition as apparently the standard code hard-codes it in class CL_TMS_DOCFLOW_DATA, method GET_DATA_FROM_TM.
The note should solver your issue too.
Good luck
Salvador