I need to create a csv file for a Purchase Order model. I think Outbound Interfaces would work well for this, but how can I automate one as part of a java workflow?
Additionally, for testing purposes, how can I create a screen in the UI that will let a user download the csv file at will?
The first one is fairly easy - after creating the interface, you can have an action or time based workflow which calls a method in OutboundMessageService. For example, writeModelBasedOutbound() is a good one to call from an action based workflow since you have Models in-hand.
To run from the UI is a bit trickier, we don't have any special utility for this. You would have to build something.