Hellow Alteryx Folks!
I'm trying to automate a process using Alteryx, in which I want to run a program on the command line once for each row in a CSV, feeding the values from the CSVs as parameters to the command line. I think I need to be using a Batch Macro with Run Command, but I am having trouble fully understanding either concept, and need some help.
- Run Command seems to be pretty fussy about when input/output files are specified
- Batch Macro examples seem to be pretty far off from what I'm trying to do, and I can't make the leap
As an example, let's assume I have a CSV as follows:
Number,Person,Attribute
1,Jim,Funny
2,Sally,Sad
3,Sam,Happy
I would like to use a Run Command that will Echo each concatenation to the CMD prompt.
- Command: C:\Windows\SysWOW64\cmd.exe
- Command Arguments: Echo 1 Jim Funny
I'd like the completed solution to repeat the process for each item in the .CSV.
My actual application is to run TABCMD from within Alteryx to generate PDFs for push reporting. I currently do this with PowerShell, but there is an awful lot of code that I think could be replaced with Alteryx... if I could just figure out how to combine Batch Macros and Run Command... or maybe there is a better solution?
Thanks,
Toby