I've just recently started using Analytic Apps and I've to say I love them, but I've encountered a little problem.
I've an analytic app that executes a macro X times depending on the number of imputs selected, the macro then runs the logic and writes a yxdb file for each imput, all runs smothly but I would want the files written by the macro to appear as outputs when I run the analytic app:
I can always look at the log and open the files I want to review, but it would be awesome if I've that files available as the analytic app outputs.
Can you move the output tool to the main workflow (not inside of the macro)? As long as there is a field in there that will denote which file to write to, you can still generate multiple reports. You would select the take file name from field option at the bottom. Select the field that will denote each file to be generated. You can choose whether or not to include the field in the output as well.
Inside your macro, add a formula tool or something that writes the file path. Have it go to a macro output. Your macro icon within your app will then have an outgoing node. Connect a browse to that output node and it will union all the file paths and display them to you when you run the app. Or, output them to a YXDB or XLSX or whatever you like.
The problem is that not all files have the same field schema as each one is generated based on external and pre-processed yxdb files loaded dynamically by the macro using the names it takes as input from the analytic app.