I am brand new to cloverleaf and I am really enjoying what I have been able to do so far. My question is can I generate a file through a single thread that grabs a source file, runs it through a TCL script, and outputs it to another location?
I have a TCL script that creates an unconventional style pipe delimited “HL7” from a database report of pipe delimited values, but it is far different from what I can do with a variant because I need to add tens of pipes more than traditional messages. Running my TCL script through the testing tool seems to work fine.
I have setup a process with fileset local and point it to the file I want it to run through my TCL script and it does consume the file but I get nothing even when I set the outbound directory. The watch output feature on the thread shows my echos like the TCL is running but then just stops and doesn’t show any error messages. It doesn’t generate an outbound message file either so I don’t think it’s getting anywhere.
I have the TCL applied to the inbound tab under tps inbound data. It does save my inbound messages but (I don’t know if it’s normal) they are the messages from the source file without having been run through my TCL.
I am stuck, please provide insight if you may know.
Thank you,
Jon