Save content in TN

Hello,

I was wondering if there’s something out of the box that’ll simply save incoming data out to a filesystem when it hits TN.

Is this a requirement or just looking for debugging?

Anyways,you can always copy/paste data from the TransactionAnalysis section right?? or do you want to save data before it routes to TN?

And to write data to a filesystem on the IS you can use PSUtilites package PSUtilities.file:writeToFile service or create a custom java service (bufferWriter).

HTH,
RMG

With minimal effort, I just basically want to automatically create a file for this specific edi data coming into TN on production. What I’m trying to accomplish is process this production data into our test environment. I guess I could update the existing flow service to process the edi data from production to test? In my existing service, maybe call a submit service and pass the data to be executed on the test IS instance.

In that case You have to do it manually copy/paste EDIdata from TA or create a temp processing rule in Prod(but it is not recommended playing in prod) to call your custom service that writes data to a file as soon TN receives it.

“In my existing service, maybe call a submit service and pass the data to be executed on the test IS instance”…you can use pub.client:http (post) in the existing service that routes data to QA TN instance http invoke (wm.tn:receive).

But this process sounds lit weird…

HTH,
RMG

RMG,

It is weird. Before proceeding to implement in production, the user wants to have a daily feed of the production data into test. They want to do this for 6 months and using manual process is not efficient. As you suggested, I will have to do a http post to our test instance. I guess it’s like logging into the TN webconsole and doing a submit EDI to TN.

Yes,please try that http post option that sends data to QA TN directly…but such things create overhead process in the Production env.

HTH,
RMG

I agree but this is probably the best solution for something short term automation rather than manual process.

Yes for short term only!!

HTH,
RMG