To Map IDOC to another format

I am using transformFlatToHierarchy to get boundNode from IDOC. But in the boundNode, the Record datatype is changing into Record List datatype. Because of this I am not able to map it to the next required XML format.
I am trying to use conformsTo (of transformFlatToHierarchy input) to set it’s value to Record def. The record definiation is already there but when I run service, it says Record doesn’t exist.
What is way to set this value?( I have tried using full name as well,e.g. pack.folder:recordDef.)