I created a service to route a xml document to TN using the service wm.tn.doc.xml:routeXml. After doing the routeXml file I also set an attribute filename (which can not be retrieved from the xml itself) with wm.tn.doc:setAttribute and wm.tn.doc:updateAttributes.
Everything is working fine when I look in TN I can see the xml document and also the attribute filename with the correct value.
But than TN processing rule executes a service which needs the filename (the attribute I added before) to do something. I have the BizDoc in the pipeline but the attribute filename has value 'null’. How is this possible? Do I have to do something else? I checked TN console and I can see the filename with the correct value…
To double-check I looked into the database tables (BizDocAttribute) and also in the tables I can see that the document is linked with attribute filename and filename has the correct value…
Please can someone help me with this?