Cannot query TN ConversationID attribute

As IDOCs are received from SAP into TN we are extracting the idoc number and stuffing it into the conversation ID attribute of the bizDoc. (For this doc type the conversation ID is just an unused field). A separate service is needed to query TN to find a specific idoc number but I can’t seem to find the correct attribName to use on wm.tn.query:createDocumentQuery.

Nevermind. Rather than using conversationID I created a custom attribute - idocNumber. To update the bizDoc I first use wm.tn.doc:setAttribute and then updateAttribute. The second flow service then uses wm.tn.query:createDocumentQuery with attribName set to “idocNumber”. Working very nicely…