TN export flow analysis


I am currently developing a flow service that will be able to process a xml string with a TN export of the Processing rules.

I am already able to list all the TN rules by Name, but when I am getting the Document Type ID I get either a null value, or a Document Type: %/document/IDataXMLCoder/record/idatacodable/list/record/array/value%

The the value exists and is not null/empty.

Can anyone help?

Can you please throw some light on what exactly you want to achieve?


I wanted to do a service that would take as an input a XML string (with the TN export of Processing rules).
The service would parse the XML to find rules that had diferent Ids but were doing the same thing.

I started by transforming the XMLstring onto a Node and to a document.
Retrieve all rules by service called.
For each service I verify which rules call that service.

I get a report such as:

Service: PackageA.FolderA.SubfolderA:ServiceA

  • is used by TN rule: TNRule01
  • is used by TN rule: TNRule02

From here I would like to be able to check if the TN rules are duplicate, meaning have the same sender/reciever…

This is no longer urgent as I have already done it by hand…
But it would be nice to have a service to compare rules for possible duplicates.


We have used the following java service to retrive data from TN export. The below service accepts the TN export file name, and gives an output , and Idata named data. This data is the same as the input to the service

Basically our idea of doing this was to create an automated backup every week. We use the, and save the IDataBinCoder class to write the data to file (THis is same as doing an export from TN)

// pipeline
IDataCursor pipelineCursor = pipeline.getCursor();
String fileName = IDataUtil.getString( pipelineCursor, “fileName” );

String successFlag=“false”;
String errorMessage=null;
IData data = IDataFactory.create();
File f = new File(fileName);
IDataBinCoder coder = new IDataBinCoder();
data = coder.readFromFile(f);
catch(Exception ex)

// pipeline
IDataCursor pipelineCursor_1 = pipeline.getCursor();
IDataUtil.put( pipelineCursor_1, “data”, data );
IDataUtil.put( pipelineCursor_1, “successFlag”, successFlag );
IDataUtil.put( pipelineCursor_1, “errorMessage”, errorMessage );


Just tried your java code, but I am getting the error:
java:48: cannot find symbol
symbol : class IDataBinCoder

What do I need to import?