Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

To process a workflow for a given list of customer names individually

poornimak
7 - Meteor

I have a workflow with some data processing. I want the workflow to run for each customer from a list of customers in an excel file and generate output file for each customer.

 

Example:

 

Customer List:

Customer nameUnique ID
Customer A123
Customer B234
Customer C345

 

I have a workflow a.yxmd

 

Expected output:

 

a.yxmd should run for each customer - Customer A, Customer B, Customer C and generate separate excel output with Customer name as the output file name. Please note that my workflow a.yxmd also contains customer data. Any help would be appreciated.

TIA!!

11 REPLIES 11
poornimak
7 - Meteor

@Qiu Thank you for the batch macro solution. Addition to it, I have a scenario for the same data.

 

I have Columns A, B, C, D, E F, H, I
Columns A, B, C, F, H, I are Static
Columns D, E are dynamic which might have account numbers appended dynamically.
I need my dynamic columns between the static columns in the order I desire. However, when my workflow runs for each client, my dynamic columns are not in proper order as shown in below examples.
I have given my current and expected outputs below.

 

Client 1:  

Current order of Output:

Column  AColumn BColumn CColumn E Column FColumn HColumn IColumn D Account1Column D Account 2Column D Account 3
          
          
          

 

Expected order of Output:

Column AColumn BColumn CColumn D Account1Column D Account 2Column D Account 3Column EColumn FColumn HColumn I
          
          
          

 

Client 2:  

Current order of Output:

 

Column AColumn BColumn CColumn FColumn HColumn IColumn D Account 4Column D Account 5Column E Account 6
         
         
         

 

Expected order of Output:

Column AColumn BColumn CColumn D Account 4Column D Account 5Column E Account 6Column FColumn HColumn I
         
         
         

 

Client 3:  

Current order of Output:

Column AColumn BColumn CColumn E Account 10Column E Account 9Column E Account 8Column D Account 7Column FColumn HColumn I
          
          
          

 

Expected order of Output:

Column AColumn BColumn CColumn D Account 7Column E Account 8Column E Acount 9Column E Account 10Column FColumn HColumn I
          
          
          

 

Thanks in advance!

Qiu
21 - Polaris
21 - Polaris

@poornimak 
I will prepare a predefined Column Names in required order then do some magic 😁

1109-poornimak.png

Labels