AnsweredAssumed Answered

Best way to capture Linux script output in AE vara for downstream WF processing?

Question asked by eric.felker on Aug 31, 2015
Latest reply on Jun 6, 2016 by Michael_Lowry
Hi all,

Scenario: User has two Linux jobs in a workflow, each executing a bash script. Output from the first job needs to be input to the second job. To do this, we'd like to capture the Linux output in an Automic variable, to use as a parameter in that 2nd job. This sounds like an easy ask, and a commonplace one, but after some poking around, it doesn't seem like it's as straight forward as we thought.

Is the best way (only way) to do this to output the first job's output to stdout, then capture it through PREP_PROCES_REPORT code in the post process tab? Then we can PSET and have this data available downstream for job 2. This can be done, but it's not something I can easily point the user to and expect them to implement themselves, which is the goal.

This being the case, will this sort of thing be more streamlined in v11, with the ability to intermingle different types of code in the same Automic process tab? Would be nice to call the Linux script and assign the output to an Automic variable all in one line in the process tab.

We are running V9 SP 8 in production.

Thanks for looking!