Hi Dell,
I am following your suggestion and I am stuck. This is what I am doing:
1) recursively load the folders based on the known folder. Select * from CI_INFOOBJECTS where SI_KIND='Folder' and SI_PARENTID=<parentId>
2) for every folder, get all documents (non-folder) without folders.
3) For each document, use the query provided by you in first reply such as select * from CI_INFOOBJECTS where SI_INSTANCE and SI_SCHEDULE_STATUS=<X>. I am stuck here where I do not know how this can tie to point 2 since it does not have anything related to the non-folder item in the current folder. I modify this query to include SI_NAME. Not sure if this the correct way.
You input is appreciated. Thanks!