Question
· Sep 2

Write files to different subdirectories from a single EnsLib.File.OutboundAdapter

 I have some Services using EnsLib.File.InboundAdapter to go directly to respective operations using EnsLib.File.OutboundAdapter which has a 'File Path' specified.

Using this File Path as a root directory, I'd like to instead pass this through a Router  where I could somehow inject a subdirectory to place the file into on the outbound side based off the source service it is coming from. There will likely be several inbound services writing to each outbound operation and I'd like to be able to sort the output into subfolders.

I found this article, which seems to be the type of thing I'm looking for, but I'm not a developer so my understanding of how to implement it is extremely limited.. Write files to different directories with from one EnsLib.File (intersystems.com)
 

Can someone assist me with a little more direction on how to go about this?

Product version: IRIS 2022.1
$ZV: 2022.1.2 (Build 574U)
Discussion (1)1
Log in or sign up to continue