Extracting Custom Attributes in Flow Service

Hi, We have some of the custom attributes that are stored in TN when the document is submitted to TN.
I am extracting the document in the flow using following services.
createDocumentQuery
documentQuery.

If I specify the attribs parameter in createDocumentQuery, I can see the custom attribute in the results of this service. How ever if I do not specify the Custom attributes in the attribs parameter, the attributes are not extracted in the results. This is because attribs forms a “where clause” in the createDocumentQuery.

Is there a way to get the custom attributes in the results without specifing it in attribs parameter. OR how the custom attributes can be a part of the Select query but not the part of the “where clause”.

Appreciate a quick response on this.

Thanks
Akshay