cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Register to attend Discovery Summit 2025 Online: Early Users Edition, Sept. 24-25.
  • New JMP features coming to desktops everywhere this September. Sign up to learn more at jmp.com/launch.
Choose Language Hide Translation Bar
mdeng
Level I

How to create a workflow that can run a set of analyses for multiple files in one folder

Hi,

 

I would like to use a workflow to run the same set of analyses on multiple .csv files saved in a folder.

 

I know how to create a workflow for a specific .csv file, but I don't know how to create a workflow to run the set of analyses on a list of .csv files. My JSL skill is limited.

 

I appreciate your help.

Margaret

 

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: How to create a workflow that can run a set of analyses for multiple files in one folder

You didn't select source for the for each (you have to tell it to use the Group you created earlier)

jthi_0-1739391459386.png

 

You can also rename the group (and you should) by changing the step name of the group

-Jarmo

View solution in original post

6 REPLIES 6
jthi
Super User

Re: How to create a workflow that can run a set of analyses for multiple files in one folder

Workflows do have For Each (in JMP18) which you might be able to utilize

jthi_0-1739386068795.png

 

Or maybe you could add all your results into same table using Multiple File Import WITH the file name. Then perform your analysis using filename column as By column in the JMP platform.

-Jarmo
mdeng
Level I

Re: How to create a workflow that can run a set of analyses for multiple files in one folder

Hi Jarmo,

Can you create a simple example by showing how to use For Each? I tried it and didn't get any success.

 

Example:

Open two files

Create two analyses that will be performed for each file.

 

Thanks

Margaret

jthi
Super User

Re: How to create a workflow that can run a set of analyses for multiple files in one folder

Open tables and group them

jthi_1-1739387825712.png

Run analysis on one table and group it to for each

jthi_2-1739387834265.png

Use group defined first as source for for each group

jthi_3-1739387841580.png

Seemed to work but I'm not sure if this is the way how these should be used as I don't really like using workflows 

-Jarmo
mdeng
Level I

Re: How to create a workflow that can run a set of analyses for multiple files in one folder

mdeng_0-1739390930234.png

Hi Jarmo,

I tried your recommendation and created the workflow above. The workflow opened all three files. Then, it stopped and asked me to select a file to run the control chart. Any other recommendations?

Thank you so much!

Margaret

jthi
Super User

Re: How to create a workflow that can run a set of analyses for multiple files in one folder

You didn't select source for the for each (you have to tell it to use the Group you created earlier)

jthi_0-1739391459386.png

 

You can also rename the group (and you should) by changing the step name of the group

-Jarmo
mdeng
Level I

Re: How to create a workflow that can run a set of analyses for multiple files in one folder

Yeah, it worked!

Jarmo, thank you so much!

Recommended Articles